• I have followed all the instructions to have a local copy of my website. Downloaded database, imported to my local Mysql, changed ‘siteurl’ and ‘home’ at wp_options table, downloaded the / from server and changed wp_options.php with the database name, user and password.

    Site load the home page, bu nothing else. Can’t access wp-admin and any post at all. The message I receive is:

    Not Found

    The requested URL /<post-name>.
    Apache/2.4.7 (Ubuntu) Server at localhost Port 80

    I don’t know if it would be useful, but when I call ‘localhost’ at the browser, it never loads at the first time. I first receive the white screen and have to refresh to open home page.

    Any ideas of what I’m doing wrong in my local installation, so I could access wp-admin and the other links?

Viewing 1 replies (of 1 total)
  • Issue may lie in the new URL not being updated in the database you migrated over. Go ahead and FTP into your site so you can modify your wp-config.php file. All you will be doing is adding the following:

    // Site URLS (override DB settings)
    define('WP_HOME','https://www.myurl.com');     //<-- NO TRAILING /
    define('WP_SITEURL','https://www.myurl.com');  //<-- NO TRAILING /

    Be sure to replace ‘https://www.myurl.com&#8217; with the correct url. Try visiting your-url.com/wp-admin/php after you complete this step.

Viewing 1 replies (of 1 total)
  • The topic ‘Just acess home page on Local installation’ is closed to new replies.