Title: Perfect Permalink Possible?
Last modified: August 20, 2016

---

# Perfect Permalink Possible?

 *  [nalacat](https://wordpress.org/support/users/nalacat/)
 * (@nalacat)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/perfect-permalink-possible/)
 * Ive tried many plugins etc and yet i still can not get wordpress to display legitimate
   seo urls!
 * I want category urls to display purely the current cat url no matter if its a
   child or parent category such as domainname.com/test
 * at the same time i want all posts to display just the post url too without category
   before the post url!
 * I just can not get this to work no matter what i try?
 * Any suggestions?

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/perfect-permalink-possible/#post-2178754)
 * What’s a “legitimate seo url”?
 *  Thread Starter [nalacat](https://wordpress.org/support/users/nalacat/)
 * (@nalacat)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/perfect-permalink-possible/#post-2178760)
 * its the way i work, as in short urls! opposed to bloated beefy long urls!
 *  Thread Starter [nalacat](https://wordpress.org/support/users/nalacat/)
 * (@nalacat)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/perfect-permalink-possible/#post-2178770)
 * hi guys.
 * i found the answer as i was really struggling for over 2 hours or so with this.
 * This worked for me giving my perfect urls for posts and categories!
 * Place this code in your themes functions.php file!
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * Hope this really helps you!
 *  [cscottb](https://wordpress.org/support/users/cscottb/)
 * (@cscottb)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/perfect-permalink-possible/#post-2178798)
 * For anyone wanting to know the common ways of using permalinks, see here:
    [http://codex.wordpress.org/Using_Permalinks](http://codex.wordpress.org/Using_Permalinks)
 *  [vyperlook](https://wordpress.org/support/users/vyperlook/)
 * (@vyperlook)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/perfect-permalink-possible/#post-2178820)
 * for some reason it’s not working for me . after i add it in functions.php it 
   give me error .
 *  is there any specific place where i should add the code,or adding it at the 
   end will be fine ?
 *  thanks
 *  Thread Starter [nalacat](https://wordpress.org/support/users/nalacat/)
 * (@nalacat)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/perfect-permalink-possible/#post-2178893)
 * Hi vyperlook.
 * Make sure you add it in the themes functions.php and not wp-includes/functions.
   php
 * Hope this helps and works?
 * Im also runnning the latest version of wordpress!

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

The topic ‘Perfect Permalink Possible?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 4 participants
 * Last reply from: [nalacat](https://wordpress.org/support/users/nalacat/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/perfect-permalink-possible/#post-2178893)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
