简体   繁体   English

joomla到wordpress迁移和404错误问题

[英]joomla to wordpress migration and 404 errors issues


I had migrated my website from Joomla to WordPress with "FG Joomla to WordPress premium" 我已经通过“ FG Joomla到WordPress premium”将网站从Joomla迁移到WordPress。

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: 问题是我的网站上有2900多个帖子,它们现在都以WordPress版本导入,但是帖子中的图像是这样链接的:
example.com/postname/articles/image.jpg example.com/postname/articles/image.jpg
but in WordPress images should be like : 但在WordPress中,图像应类似于:
example.com/wp-content/image.jpg example.com/wp-content/image.jpg
now I all my 2900 posts images are broken and not shown. 现在我所有的2900个帖子图像都损坏了,没有显示。 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. 我强烈推荐一个名为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. 只需转到Joomla存储文章的com_content表,以及introtext和全文字段,就可以在其中进行查找和替换。 I also recommend switching the image src= to relative paths instead of absolute paths that contain your domain name in them. 我还建议将图像src =切换到相对路径,而不是其中包含您的域名的绝对路径。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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