Double URL and broken links
-
Hi everyone
Sorry if this is the wrong forum. Not sure if this falls under the installation category.
[ Moderator note: moved to Fixing WordPress. ]
I’ve just migrated my site https://www.liberatingthespirit.com from one host to another where I already had an old version.
I then created a new database, a new MySQL user and transferred the files.Unfortunately, because of my inexperience with these things all the files ended up in a wrong folder, so I moved them to where they were supposed to be.
I finally got it all moved, all the posts, widgets, plugins and everything is there. But some of the links are double links, like this: https://www.liberatingthespirit.com/blablawww.liberatingthespirit.com/blabla.
Some of the images do not show up either.I then followed the instructions here https://www.inmotionhosting.com/support/edu/wordpress/migrating-wordpress-inmotion-hosting/correct-image-links
and ran this script as explained.
UPDATE wp_posts SET post_content=(REPLACE (post_content, ‘<old url>’,'<new url>’));But then I received a message that wp_posts doesn’t exist.
For some reason all the tables has a line of random letters added. So they are called wp_gczrwa9rkw_posts and wp_gczrwa9rkw_comments and so on.
Can I simply rename all of them to make it work?
All the best
Casper
- The topic ‘Double URL and broken links’ is closed to new replies.