Support » Fixing WordPress » Windows localhosting question

  • I’m using podz’ “Moving your WordPress weblog inside your PC” tutorial. I believe I’ve followed the instructions exactly, but I’m having a problem.

    On my host, my site’s URI is

    On my PC, I’ve installed XAMPP. In the htdocs folder, XAMPP installs a lot of stuff of its own, so I’ve created a subdir called c:apachefriendsxampphtdocscuppanews and put the downloaded copy of my WordPress install there.

    In the local copy of the SQL, I’ve replaced instances of with http://localhost/cuppanews.

    Now, when I load http://localhost/cuppanews/index.php, I get the main page for my local site. But when I click on any of the category or archive links, I get a 404. For example, I have a category called “technology” and the 404 error says: The requested URL /cuppanews/category/technology/ was not found on this server.

    I have a feeling (dread, I think it’s called) that I need to create an .htaccess file that does some voodoo for my local install. What do you think?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Permalinks didn’t work when I tested things offline (I used easyphp – I assume it’s similar to xampp. Remove all permalink settings on the options screen and delete the .htaccess file if there is one. That sorted everything for me.

    Excellent! Thank you, BinaryMoon! That’s a great help.

    permalinks with xampp:

    locate the file httpd.conf, mine is at xampp\apache\conf\httpd.conf
    locate the line:
    #LoadModule rewrite_module modules/
    remove the hash(#)

    tested using permalink setting of /%year%/%monthnum%/%day%/%postname%

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Windows localhosting question’ is closed to new replies.