Search code examples
wordpresslocalhostpermalinks

One page won't show on wordpress after moving from live to localhost


I moved my website from live to localhost to make some modifications to it and I have encountered a problem, one page will not show up: "Oops! That page can’t be found.".

I have tried the following
1. activated rewrite_module
2. deactivated each plugin to see if anyone is causing the problem
3. recopied the database and files in case of failure during the first transfer
4. read that resetting permalinks might solve the problem. Changed permalinks to default - the page now works, but when I changed back to custom the problem is still there.

This is weird because only one page does not seem to show, every other page works fine and also there is no problem on the live version.

I ran out of solutions can any one please help?


Solution

  • This may be caused by the permalink or .htaccess

    check the url of your page if no issues on URL then

    Follow this steps once:

    1. Go to settings-> permalink-> set it as default ->Reload or refresh
    2. Then again now Go to settings-> permalink->postname

    Your .htaccess will get update with the permalink.