admin管理员组文章数量:1122832
I am moving my wordpress website from one hosting to another. i moved my file(from filesmanager) correctly i export database from phpmyadmin to new host phpmyadmin
Home page working fine () When i click on any post this error occurs [Not Found The requested URL was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.]
I am moving my wordpress website from one hosting to another. i moved my file(from filesmanager) correctly i export database from phpmyadmin to new host phpmyadmin
Home page working fine (http://prophetmuhammadsaw.com) When i click on any post this error occurs [Not Found The requested URL was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.]
Share Improve this question edited Jun 8, 2017 at 11:23 StackQA asked Jun 6, 2017 at 19:32 StackQAStackQA 1013 bronze badges 1- If one of the answers below did answer your question please mark it as the accepted answer. – user9447 Commented Jun 8, 2017 at 13:00
4 Answers
Reset to default 1I need more details to tackle up what problem are you facing, but maybe these steps can help you:
Update your links in Wordpress database
- Go to PhpMyAdmin
- Find the database of your wordpress page
- Go to wp_options table
- Update "siteurl" and "home" with the new url of your website
Update your permalinks
- Go to "www.yoursite.com/wp-admin"
- Go to settings > permalinks
- Save settings
Not a lot of information here, but when this happens to me it's generally because you may need to add your htaccess. file again and ensure it's set for your hosting environment.
Before messing with the database, I'd try adding the two URL related defines to your wp-config.php. This means you can change your site URLs quickly and safely without editing the DB and will probably be easier to debug what's happening. Then you may need to look to either the DB or htaccess as others have suggested. See the related Wordpress docs here.
Try also to generate a new .htaccess file. Rename the old one to for example .htaccessOLD and the go in to settings>permalinks and just press the save button. This will generate a new .htaccess file based on your new environment
本文标签: phpmyadminlost all the links in WordPress after changing hosting
版权声明:本文标题:phpmyadmin - lost all the links in WordPress after changing hosting 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736284237a1927206.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论