Solved

Changing Wordpress Main Domain

Posted on 2013-11-19
6
362 Views
Last Modified: 2013-12-04
We are changing the primary domain that is used to access our website which is a Wordpress site.

I have been reading about changing the domain, etc. but wanted to get an idea of any possible problems we may be running into.

Will the images in posts and pages be affected by a new root URL?  Do we just update the Domain in Settings >> General after the DNS has been updated for the previous domain?

Advice is appreciated.
0
Comment
Question by:axessJosh
6 Comments
 

Expert Comment

by:McSnoogins1
Comment Utility
Hi axessjosh,
I have just recently moved my wordpress site to a different domain. I used the following guide to get through it and everything worked well.  The only stumble I came across was that for some reason my host changed alot of the permissions which stopped my media being displayed.  That was easiest to sort by connecting to the site with FTP using filezilla, highlighting the relevant files/folders, right clicking and in properties changing the permissions back to what they should be.

http://fizzle.co/sparkline/move-wordpress-to-another-domain?tt


If you are changing the actual domain name you will need to run search and replace which is mentioned towards the bottom of the article
0
 
LVL 25

Expert Comment

by:James Rodgers
Comment Utility
take a look at wp migrate db, we  have used it on over 50 site moves and never had an issue.

if you are going to use a search and replace on your sql dump it better manage serialized data

http://wordpress.org/plugins/wp-migrate-db/

just zip up the files and ftp to the new host if necessary
0
 
LVL 2

Author Comment

by:axessJosh
Comment Utility
Thanks, I'll take a look at the article.

We're not moving the host, but rather changing our church's main domain.

it was cornerstoneshiloh.org

and will now be:

onecornerstone.org as we are expanding into a multi-site church.

we've moved the site once which turned out to be a nightmare so I'm hoping just changing the domain is easier.
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
Comment Utility
I'm hoping just changing the domain is easier.

All of the links in the current content will break :)

When you change the domain name to the site you have to also change it in the WordPress settings.  Unfortunately, that change doesn't get reflected in existing content and you will need to go through and update the wp_posts table manually.  It wouldn't be a bad idea to dump out the entire WordPress database to a text file and run a Find/Replace command in your favorite text editor per:

http://www.experts-exchange.com/Web_Development/Blogs/WordPress/A_10258-How-To-Move-A-WordPress-Site.html

Any obviously you will need to set up 301's to handle inbound links that will be using the old domain name.  Expect your site's rank to take a significant albeit temporary hit anyway.
0
 
LVL 2

Author Comment

by:axessJosh
Comment Utility
Would a better solution to not affect page rank be to just build a separate installation of Wordpress in a secondary folder on our host linking to the original DB, then setup the new site completely there starting with the new domain.  Then, just do a redirect on the other domain to the new site?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
No real difference.  When you change URLs, you take a hit until Google figures things out.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Now that you've installed WordPress 2.9 (http://www.experts-exchange.com/articles/Web_Development/Blogs/WordPress/WordPress-2-9-What-to-Expect-When-Upgrading-to-WordPress-2-9.html?) on your site, you need to install some plugins to get the most out …
WordPress is constantly evolving, and with each evolution appears to get better and better.  One of the big drawbacks prior to version 3 was that there was no way to be able to set up a custom menu from the backend. The Old Way Adding menus is…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now