Title: Permalinks
Last modified: August 22, 2016

---

# Permalinks

 *  [mikej855](https://wordpress.org/support/users/mikej855/)
 * (@mikej855)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/permalinks-209/)
 * I have an issue with permalinks.
 * I’ve created a number of portfolios. All they contain is some text and a feature
   image.
 * I’ve enabled Post Name permalinks and visually verified that the .htaccess has
   been updated.
 * My link for the portfolio when permalink is set to default is: [http://localhost:8080/modtest/?portfolio=bbc-worldwide](http://localhost:8080/modtest/?portfolio=bbc-worldwide)
   
   My link for the portfolio when permalink is set to Post Name is: [http://localhost:8080/modtest/portfolio/bbc-worldwide/](http://localhost:8080/modtest/portfolio/bbc-worldwide/)
 * I now have a page, titled Case Studies which is a sub-page of About us and is
   using the template “Portfolio”
 * I’ve published everything. Updated the misc.php file and changed the function
   got_mod_rewrite() so that the line:
    $got_rewrite = apache_mod_loaded(‘mod_rewrite’,
   true); is now: $got_rewrite = true;
 * Unfortunately, I keep getting 404 errors. I’m developing on my local machine 
   using xampp. Any suggestions? The theme that I’m using is Salient.
 * I’m also using the latest version of wordpress and all of my plug-ins are up-
   to-date.
 * Regards
 * Michael.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/permalinks-209/#post-5829361)
 * My suspicion is that the “mod_rewrite” module is either not loaded or not active.
   Please save this text into a file and browse to it, it will show what is happening
   with mod_rewrite:
 * > <?php
   >  phpinfo(); ?>
 * On your own hosting save it in a file like “info.php”, but since it discloses
   potentially sensitive info, when you load it to hosting invent a more obscure
   name.
    Without mod_rewrite your .htaccess is not used. If you find it is not 
   active, then start googling, or ask at the xampp support forum.
 *  [Tahir Taous](https://wordpress.org/support/users/tahirtaous/)
 * (@tahirtaous)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/permalinks-209/#post-5829385)
 * YOU will have to enable Apache rewrite model. if using WAMP or XAMPP
 * Click on WAMP icon > Apache > Apache models > Rewrite model
 * click on rewrite model to enable it. Now Restart WAMP or XAMPP server. Permalinks
   will work fine.

Viewing 2 replies - 1 through 2 (of 2 total)

 The topic ‘Permalinks’ is closed to new replies.

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 2 replies
 * 3 participants
 * Last reply from: [Tahir Taous](https://wordpress.org/support/users/tahirtaous/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/permalinks-209/#post-5829385)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
