Close Menu
JustwebworldJustwebworld
  • Business
  • Food
  • Health
  • Lifestyle
  • Tech
  • Home
  • Travel
  • Culture
  • Money
  • People
  • Sports
  • Auto
  • Digital
  • Mind
  • Fashion
  • Gaming
  • Learn
Facebook X (Twitter) Instagram Pinterest YouTube LinkedIn WhatsApp Telegram
Wednesday, May 27
  • About Us
  • Contact Us
  • Advertise With Us
  • Disclaimer
  • Terms & Conditions
  • Privacy Policy
JustwebworldJustwebworld
  • Business
  • Food
  • Health
  • Lifestyle
  • Tech
  • Home
  • Travel
  • Culture
  • Money
  • People
  • Sports
  • Auto
  • Digital
  • Mind
  • Fashion
  • Gaming
  • Learn
JustwebworldJustwebworld
Home » Digital » How to Host Images of WordPress Blog on Subdomain for Better Speed

How to Host Images of WordPress Blog on Subdomain for Better Speed

Michael Austin Digital
Facebook Twitter LinkedIn Telegram Pinterest Reddit WhatsApp
Follow Us
WhatsApp Telegram

Host Images of WordPress Blog on Subdomain

We all are know that Page Speed of the Web Page is Important factor for the Search Engine Ranking. The Web Page who have a better Page Loading Time that will Rank better for sure in a Search Engine. “The Web Must be a Faster” – Google Inc. Here I will going to show you How to Host Images of WordPress Blog on Subdomain for Better Speed of the WordPress Website/Blog.

Actually In WordPress Site/Blog the Images are Host in a Same Domain, This is Slow down your Page Speed of your WordPress Blog/Site. Instead of Hosting Images On a Same Domain, We can Host Images on Subdomain and that will surely Improve the Performance of WordPress Website or Blog.

How to Host Images of WordPress Blog on Subdomain for Better Speed

Host Images of WordPress Blog on Subdomain:

You May Heard the thing WordPress not allow the Host WordPress Images On Subdomain, But It allows. This Article is about How to Host Images of WordPress Blog on Subdomain for Better Web Page Speed.

First of All

1.) Create a Subdomain for your site

Login to your CPanel and Click on Subdomains

Create Sub Domain for your site

Then One Page will appear, Enter your Subdomain name. Here I have insert Images. Document Root means Directory after creating Subdomain the Directory/Folder will automatically created. you can also modify the Directory Path.

Host Image for Sub Domain

Note: This Facility is Provided by the Hosting Providers, If you are unable to Create a Subdomain then you have to contact your Hosting Providers.

See Also: How to Install WordPress on HostGator

2.) Change Default Image Uploading Folder in WordPress

After the release of WordPress 3.5, the option for custom uploading path has been removed from the ‘Media settings’. So for getting them back you have to download this plugin click here. This Plugin Help you to Set a New path of Uploading Media in WordPress Blog/Site(You can Remove this Plugin After Completion of the Hosting Image in Subdomain Process).

Update New Path of Media What You have to do go to the Settings of the Plugin WP Original Media Path and Give Name of Folder and Subdomain path where you host now Images for WordPress Blog. So Your New Images Store on a Subdomain means New Location.

3.) Update the old post images location:

After Doing this Things Now it’s Time to Move Old Uploading Images on a New Location means on a Subdomain. Changing the Location of all old files on New Location is very stupid Job, So what you have to do So, First download all the folders containing the images under /public_html/wp-content/uploads/ from your server and upload all those folders in the folder /public_html/images/. To update the new location of your images, for that you have to execute a simple SQL query on your database. You can do this from the phpMyAdmin in your hosting control panel.

PhpMyAdmin SQL Database

Now Click on the phpMyAdmin > select your database from the left side > click on the “SQL” tab.

PhpMyAdmin SQL Query

Now You put the following query in the box.

UPDATE wp_posts SET post_content = REPLACE(post_content,'http://www.yourdomain.com/wp-content/uploads/','http://images.yourdomain.com/')

Replace Images to New Location

Click on “GO”. Then This query will replace “http://www.yourdomain.com/wp-content/uploads/”  with “http://images.yourdomain.com/” in all the image location URL. For update the images links in the media library run the following sql command:

UPDATE wp_posts SET guid = REPLACE(guid,'http://www.yourdomain.com/wp-content/uploads/','http://images.yourdomain.com/')

4.) Redirect the old images link to to Subdomain

Now You have completed all the Jobs with your site and database. But Still Google has crawled and indexed your old images. So redirect the old image urls to the new image URLs. to let Google know that those images are same. To do so add the following 1 line in your .htaccess file.

RedirectMatch 301 ^/wp-content/uploads/(.*)$ http://images.yourdomain.com/$1

Note: Backup your .htaccess file before any changes. That’s all to set your Subdomain as post-images upload location.

See Also: Best Free SEO Plugins For WordPress

Now That’s It. Now You Host Images of WordPress Blog on Subdomain for Better Speed of WordPress Website/Blog. This Tweak Speed up your WordPress Website and Increase your Blog Performance.

If you face any Problem with this Tweak you are most welcome to ask us, Just Comment below.

cards
Powered by paypal
Follow on WhatsApp Follow on Telegram
Share. Facebook Twitter Pinterest LinkedIn Tumblr Telegram WhatsApp Copy Link
Previous ArticleTop 5 WordPress Plugins for An E-Commerce Business In 2019
Next Article How to Add PayPal Donate Button on Your WordPress Blog
Michael Austin
  • Website
  • Facebook
  • X (Twitter)
  • Pinterest
  • Instagram
  • LinkedIn

Michael Austin is the current owner of Justwebworld and manages the platform’s editorial direction, content strategy, and digital publishing operations. With a strong interest in online media and modern publishing, he focuses on creating informative, engaging, and easy-to-understand content across multiple categories. Under his leadership, Justwebworld continues to grow as a trusted multi-niche digital publication covering technology, business, lifestyle, automotive, sports, travel, and trending internet topics for readers worldwide.

Related Posts

Hostinger Web Hosting Review: Fast, Cheap & Worth It for SEO Websites in 2026?

How Australian SMBs Can Build a Digital Marketing Strategy That Actually Reaches Their Ideal Customers in 2026

Apzom Digital – Complete Digital Marketing Solutions for Maximum ROI & Business Growth

How to Install WordPress on Hostgator for start self hosted blog

Black Hat & White Hat – Assess Your Risk Factor

Unlock the Web! | Best Ways to Access Blocked Websites (Easy & Safe)

1 Comment

  1. subin babu on June 1, 2018 1:14 pm

    Good Info, Thank you Harshil 🙂

Leave A Reply

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 41.9K other subscribers
Categories
Latest Posts

Can Children Benefit From Online Counseling?

4 Free Ways to Have Fun On A Budget

Is Vaping Bad for You? And 15 Other FAQs

Best Beaches In United Kingdom For Holidays

How to Shortlist the Best Apartment Builders In Chennai?

Top 10 Most Popular Entertainment In The World Of Pandemic

Three Easy Ways to Have Some Fun After Work

Practical Study Tips to Improve Your IELTS Score

Hemp Oil Benefits Vs. CBD Oil Benefits

Apply These Awesome Tricks To Keep Your Readers Engaged

The content on this website is provided solely for educational and informational purposes. We do not promote, endorse, or deal in any products, services, or activities mentioned. While we strive to share accurate and up-to-date information, we make no warranties regarding completeness, reliability, or accuracy. Any action you take based on the information found here is strictly at your own risk, and we will not be liable for any losses or damages in connection with the use of our website.

DMCA.com Protection Status
Quick Links
Age Calculator
Angel Number Calculator
Case Converter
Sudoku Online
Word Counter
Love Calculator
Jack Doherty YouTuber
Snake Dream Meaning
Get Rid of Cockroaches
Indian Cricket Team Coaches
Best Volleyball Team Names
Useful Links
Number to Words
Period Calculator
Yes-No Picker Wheel
Demon Name Generator
Kingdom Name Generator
Harry Potter Name Generator
Daddy Yankee Biography
Crocodile Dream Meaning
Goa Budget Trip Guide
Maryse Mizanin WWE Diva
Best Cricket Team Names
Helpful Resources
Colors Name In English
Best Computer Brands
WhatsApp Web
Most Beautiful Beaches
Tesla Cybertruck Review
Richest Actors in the World
India Jarvis Actress
Cat Dream Meaning
Belmar Beach New Jersey
Aryna Sabalenka Tennis Superstar
Best WhatsApp Group Names
Explore More
Good Morning Handsome
Best English Songs of All Time
Cricket World Cup Winners
Ways to Say Rest In Peace
Britain’s Got Talent Winners
American Idol Winners
Dude Perfect Net Worth
Horse Dream Meaning
Ramakrishna Beach Visakhapatnam
Anastasia Potapova Tennis Star
Best Funny Team Names
Facebook X (Twitter) Instagram Pinterest YouTube Tumblr LinkedIn WhatsApp Telegram Threads RSS
  • About Us
  • Contact Us
  • Advertise With Us
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions
  • Web Stories
Copyright © 2012-2026. JustWebWorld - All Rights Reserved. | Sitemap

Type above and press Enter to search. Press Esc to cancel.

−
×

📚 You May Also Enjoy

Discover a few more helpful articles selected for you 👇
Methods Getting Users Engage Website Blog
Recommended
6 Easy Methods for Getting Users to Engage Your Website/Blog
Landing page builders
Recommended
Landingi Review – Is It a Best Funnel Building Software?
How to Save Online While Shopping
Recommended
How to Save Money While You Shop Online
Thanks for reading JustWebWorld ❤️