I just transferred my site from WordPress.com to wordpress.org. I have imported my posts, comments, etc. I see that all links to my posts from the wp.com site are now broken. How can I make sure the old links are forwarded to the self-hosted site?
I have made sure the domain is pointed to the self-hosted site.
If your links are hard-coded inside your posts and pages, you need to either:
1. Manually edit them so that they reflect your new site’s URL;
2. Do a search and replace in your database either through an SQL query directly from phpMyadmin or using a plugin such as Search and Replace.
You need to look for your old domain: yourblog.wordpress.com and replace all instances of that with yourdomain.com.
Search results should be updated once search engines crawl your site again. If you don’t want to wait, you can resort to a free search engine submission site (there are several out there).
As for links coming from other sites, if you know what sites have broken links to your site, you could try to contact them and ask them to update the URLs. You could also try to redirect all the traffic going to your old URL to the new one.
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Broken links and 404 errors’ is closed to new replies.