0

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.]

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

3 Answers 3

1

I 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
1
  • wp_terms i don't have this table in my database, That its responsible for my missing categories, tags and links
    – StackQA
    Commented Jun 6, 2017 at 20:19
0

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.

1
  • Thanks for the the answer, It is not related with the database. wp-terms is missing from database. what i have to do with htaccess
    – StackQA
    Commented Jun 6, 2017 at 21:06
0

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.

2
  • Thanks for the answer, i Think my hosting provider messed with my database, Never take bad hosting
    – StackQA
    Commented Jun 7, 2017 at 0:33
  • Ha. Yeah, that's true. I've been using FlyWheel for dedicated Wordpress hosting over the past year and there's simply no comparison to 'non-wordpress' hosts. Other than possibly WP Engine, I won't consider anywhere else for Wordpress hosting now.
    – onebc
    Commented Jun 7, 2017 at 9:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.