Title: &#8220;Pretty&#8221; Permalinks
Last modified: August 19, 2016

---

# “Pretty” Permalinks

 *  Resolved [eaglenick](https://wordpress.org/support/users/eaglenick/)
 * (@eaglenick)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/pretty-permalinks/)
 * I am currently using “almost-pretty permalinks”: `/index.php/%category%/%postname%/%
   post_id%`
    It works fine and dandy.
 * I want to switch to completely pretty permalinks by removing the /index.php part
   and have this be my working permalink: `/%category%/%postname%/%post_id%`
 * Once I changed the setting in the control panel, I cannot access my posts via
   that URL. I.e., when I click the title of a post on the homepage, I get a 404
   error, not found — it is attempting to take me to the new URL.
 * I suspect this is because the URLs are not being rewritten. I am no expert with.
   htaccess, so I will post my current .htaccess file and allow you to assess and
   diagnose this issue, then provide me with a solution.
 * > <IfModule mod_security.c>
   >  SecFilterInheritance Off </IfModule>
   > <IfModule mod_security.c>
   >  <Files upload.php> SecFilterEngine Off SecFilterScanPOST
   > Off </Files> </IfModule>
 * Any help is appreciated.
 * Regards,
    Nick

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

 *  Thread Starter [eaglenick](https://wordpress.org/support/users/eaglenick/)
 * (@eaglenick)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/pretty-permalinks/#post-931854)
 * It seems that a lot of people come across this issue. I found this blog that 
   solved my issue: [http://perishablepress.com/press/2006/06/14/the-htaccess-rules-for-all-wordpress-permalinks/](http://perishablepress.com/press/2006/06/14/the-htaccess-rules-for-all-wordpress-permalinks/)
 * Scroll down that post and you will find two variations of a code to use. The 
   first one is to use if your blog is in the root of the domain, and the second
   is to use if it’s in a sub-directory.
 * I just replaced my entire .htaccess file with the code they provided, and voila!
   The permalinks without `/index.php` worked for me 🙂 _[[Always backup your current.
   htaccess file before editing it, just in case something goes wrong]]_
 *  [657-1](https://wordpress.org/support/users/657-1/)
 * (@657-1)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/pretty-permalinks/#post-931920)
 * > I am currently using “almost-pretty permalinks”: /index.php/%category%/%postname%/%
   > post_id%
   >  It works fine and dandy.
   > I want to switch to completely pretty permalinks by removing the /index.php
   > part
 * I am having the exact same problem, except the solution has not worked for me.
   My blog is [http://www.sixfiftyseven.co.uk](http://www.sixfiftyseven.co.uk) and
   is hosted in the root directory of sixfiftyseven.uuuq.com.
 * Can anybody give me some insight as to why this would not work for me? I have
   a writeable .htaccess file. I am not an expert and this problem is driving me
   crazy, I just can’t see what I have done wrong.
 * Thanks,
    Rob

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

The topic ‘“Pretty” Permalinks’ is closed to new replies.

## Tags

 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)
 * [permalink](https://wordpress.org/support/topic-tag/permalink/)
 * [pretty](https://wordpress.org/support/topic-tag/pretty/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [657-1](https://wordpress.org/support/users/657-1/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/pretty-permalinks/#post-931920)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
