Two WP's in separate folders, moved one to root, now Blogs link points to old
-
I really had a hard time wording a topic title for this post.
I have a situation wherein I’m helping someone who has two WP installs in sub-folders of their domain and with the intention of getting rid of the older one, moved the new one to root (public_html).
The new one moved to root (public_html) works fine now except for one problem – when clicking the “Blogs” link in the menu it takes the visitor to the old Blog site.
It’s easier and probably clearer for me to put it this way in example form:
Two WP’s existed in account:
– One at example.com/site
– One at example/blogI moved the one at example.com/site to the public_html folder using the proper procedures and removed the /site folder.
Now the WP that was at example.com/site exists directly at example.com and works fine EXCEPT this one problem:
– Now when “Blogs” link in top menu is clicked, it takes visitor to an old WP at example.com/blog instead of showing the just the new blog posts.
I took care and followed the instructions at https://codex.www.ads-software.com/Moving_WordPress and also used the Database Search and Replace Tool at https://interconnectit.com/124/search-and-replace-for-wordpress-databases/
I’m considering using the DB search and replace tool to replace all instances of example.com/blog to just example.com , but I’m afraid that might cause more harm than good.
I’m also suspicious that even though the two WP’s are in separate folders, maybe the fact that both DB’s have same wp_ table prefix. However, there was no problem when one WP was at /site and the other was at /blog , so I’m not sure if just moving one of them to root (public_html) would make the table prefix have any bearing on this.
I hope that I explained this fairly well. I would post direct links if it weren’t a privacy issue for the person I’m helping. I’m not sure that providing the domain here would make that much difference in this scenario. I’m hoping not. I’m hoping that my explanation above will make sense to someone here who is familiar with the scenario and can help.
Many thanks for any feedback and/or assistance!
- The topic ‘Two WP's in separate folders, moved one to root, now Blogs link points to old’ is closed to new replies.