Title: Windows localhosting question
Last modified: August 18, 2016

---

# Windows localhosting question

 *  [hooopla](https://wordpress.org/support/users/hooopla/)
 * (@hooopla)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/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 `http://cuppanews.com`.
 * 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 `http://cuppanews.com`
   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)

 *  [binarymoon](https://wordpress.org/support/users/binarymoon/)
 * (@binarymoon)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/windows-localhosting-question/#post-197204)
 * 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.
 *  Thread Starter [hooopla](https://wordpress.org/support/users/hooopla/)
 * (@hooopla)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/windows-localhosting-question/#post-197206)
 * Excellent! Thank you, BinaryMoon! That’s a great help.
 *  [zywiec](https://wordpress.org/support/users/zywiec/)
 * (@zywiec)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/windows-localhosting-question/#post-197589)
 * permalinks with xampp:
 * locate the file httpd.conf, mine is at xampp\apache\conf\httpd.conf
    locate the
   line: #LoadModule rewrite_module modules/mod_rewrite.so 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [zywiec](https://wordpress.org/support/users/zywiec/)
 * Last activity: [20 years, 11 months ago](https://wordpress.org/support/topic/windows-localhosting-question/#post-197589)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
