简体   繁体   中英

joomla to wordpress migration and 404 errors issues


I had migrated my website from Joomla to WordPress with "FG Joomla to WordPress premium"

the problem is that I have more than 2900 posts in my website they all are now imported in WordPress version but images in my posts are linked like this:
example.com/postname/articles/image.jpg
but in WordPress images should be like :
example.com/wp-content/image.jpg
now I all my 2900 posts images are broken and not shown. I decided to redirect it but I don't know how to that cause it's variable post names !!

I highly recommend an extension called RegularLabs DB Replacer. The free version should do what you need. Just go to the com_content table where Joomla stores the articles, and in the introtext and fulltext fields and you can do the find and replace there. I also recommend switching the image src= to relative paths instead of absolute paths that contain your domain name in them.

https://www.regularlabs.com/extensions/dbreplacer

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM