• Resolved kinrachid

    (@kinrachid)


    I did a bunch of hacks before reaching that point.
    I currently have a working website, and I wanted to locally test my changes before having them appear on it.
    For this reason, I installed a WampServer on my Windows 7 machine, then cloned a remote version of my wordpress files using a git versioning system. I changed the wp-config.php file to have my wordpress point to my local database and WP_HOME point to ‘https://localhost/XXXXXXXX/html/’, then imported my website database to my localhost one and used the following command: wp search-replace ‘www.myWebSite.com’ ‘https://localhost/XXXXXXXX/html’. When I go to the URL provided above, the home page displays properly, but when I try to click on any of the links present on the home page, I am redirected to my WampServer Home page. I set up WP_DEBUG and WP_DEBUG_LOG but the error appears to be silent. Does anyone know what might be causing this and what might be the fix for it?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Testing localhost installation Home page buttons point to wrong location’ is closed to new replies.