I’ve just transfered a wordpress website to another domain.
For the transfer I’ve made the following steps:
- Copied db and changed domainnames (http://olddomain.com to http://newdomain.com)
- Imported db on new host (via phpMyadmin)
- Changed wp-config to match new db settings
- uploaded all wp files
So the homepage works, but I can’t visit the other pages. However, they are showing up in my admin page.
The way I’ve done this in the past and have worked for me:
Also, here you can find some additional information that could help:
http://codex.wordpress.org/Changing_The_Site_URL
If you are using permalinks you will need to regenrate them after the transfer. Go to
Settings â Permalinks
in your admin panel and choose the permalink option you would like to use and clickSave Changes
. This will regenerate the permalink portion of your .htaccess file for your new domain.Are the links to those other pages still pointing to the old domain?
If so, you could try the Velvet Blues Update URLs plugin to update all the links in your site.
I’ve used this successfully in the past, but recommend that you back up your data fully before trying it yourself.
The fastest transfer from my experience is through cpanel using fantastico or something that installs wordpress quickly. The process is as following:
Using fantastico helps in setting up databases quickly and wp-config. No need to do it manually and waste time. Just make sure to leave the installed one and not transfer the old one.
The whole process takes me like 2-3 minutes, I think its the fastest once you get it.
You need just to adjust your new .htaccess by regenerating it
go to WordPress dashboard
then save modifications
if it’s work then well done else you need to manually change it :
you will find the
.htaccess
content after saving modification in permalinks page copy the contents and create the.htaccess
file in the root directory