• Many thanks to the kind volunteers here who give time and effort for the service of others – truly selfless. WordPress is so fun and rewarding to use.

    I just installed XAMPP and now have a localhost version of my web blog that seems to look and work great as I have followed the directions at https://www.tamba2.org.uk/wordpress/move3/
    However, when I try to go to the /wp-admin on my localhost version, it jumps to the web version.
    I found a similar post with this problem at https://www.ads-software.com/support/topic/44335?replies=6
    and the response (which worked for this person) suggested
    1. looking at where config is pointing.
    well my wp-config says:

    define ( ‘DB_NAME’ , ‘mattheww_wrdp1’ ) ; // The name of the database
    define ( ‘DB_USER’ , ‘root’ ) ; // Your MySQL username
    define ( ‘DB_PASSWORD’ , ” ) ; // …and password
    define ( ‘DB_HOST’ , ‘localhost’ ) ; // 99% chance you won’t need to change this value

    where mattheww_wrdp1 is my database on the web, and I kept the same name when I copied my web database and restored locally following podz directions.

    2. making sure the copied database doesn’t point to the web version.
    Well I used search and replace to change https://mydomain.com to https://localhost/wordpress
    in the database as podz instructed, then using phpMyAdmin, I double checked siteurl and home settings as described at https://www.tamba2.org.uk/wordpress/site-url/
    which for me are set as https://localhost/wordpress

    I’m just not sure what I’m missing, because I can’t go forward with local use until I can get access to https://localhost/wordpress/wp-admin

    Thanks for the kind help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter matt03wfu

    (@matt03wfu)

    of course, a little time and experimentation pays off. I simply deleted the cache folder in wp-content and it worked.

    You can also disable the cache by putting this in yoyr config file:
    define('DISABLE_CACHE', true);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘problem: wp-admin on local blog (xampp) goes to web version’ is closed to new replies.