Title: URL: /Źtegory%/%postname%/
Last modified: August 18, 2016

---

# URL: /Źtegory%/%postname%/

 *  Salathe
 * [21 years, 5 months ago](https://wordpress.org/support/topic/url-tegorypostname/)
 * Is it possible to use the Permalink structure posted at this topic title?
    ie:
   BLOG_ROOT/%category%/%postname%/ Iāve tried the %category% tag and it doesnāt
   work!

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

 *  Thread Starter Anonymous
 * [21 years, 5 months ago](https://wordpress.org/support/topic/url-tegorypostname/#post-117420)
 * The way that *I* post my blog entries, it *is* unique. That fact, and the other
   fact that it is a very intuitive url structure is why I want this to be used 
   on my blog.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/url-tegorypostname/#post-117421)
 * Itās possible, but the second that you post something with the same title in 
   the same category, the entire site goes to hell. Stick with something like, /
   archives/%year%/%monthnum%/%day%/%postname%/
 *  Thread Starter Anonymous
 * [21 years, 5 months ago](https://wordpress.org/support/topic/url-tegorypostname/#post-117423)
 * Youāre not listening to me. Things will never have the same %postname% in a given
   category. If they do have the same title, Iāll be adding in a post-slug. Even
   if I dont (or repeat a title/slug) then both (or however many) posts show just
   like a mini category listing.
    I just want to know how to get a %category% tag
   in my Permalink to work. Not if it is possible, not other solutionsā¦ this one.
   š
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/url-tegorypostname/#post-117424)
 * Oh, weāre listening, weāve just never tried it. And, weāre just explaining why
   weāve never tried it. /%category%/ doesnāt work, because itās not an available
   permalink tag. Read your permalink options page carefully, starting at āThe following
   Ć¢ā¬ÅtagsĆ¢ā¬? are available:ā.
 *  [TechGnome](https://wordpress.org/support/users/techgnome/)
 * (@techgnome)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/url-tegorypostname/#post-117426)
 * Iāve tried it, and it does work (look at the tags it gives you on the permalink
   page, itās all there). BUTā¦ then the archives link donāt work. So itās give and
   take. Depends on how badly you want it to work.
    Beel ā While you do have a valid
   point, Iād like to have some flexibility. Does any know if the following will
   be possible? Iād like my permalinks to the articles themselves to be: mysite-
   root/post/post-slug-title/post_id And date archives to be: mysite-root/archive/
   year/month/day And category listings to be: mysite-root/tomes/category-name Maybe
   optionaly add the year/month/day to the category to filter those as well. Tg
 *  Thread Starter Anonymous
 * [21 years, 5 months ago](https://wordpress.org/support/topic/url-tegorypostname/#post-117427)
 * If it was already an available tag, I would be using it! Silly! Iād just like
   to know how to make it available.
 *  [Nola1974](https://wordpress.org/support/users/nolageek/)
 * (@nolageek)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/url-tegorypostname/#post-117431)
 * I just want to get rid of the word ācategoryā out of my url, and I dont want 
   to replace it with something. š
 *  [TechGnome](https://wordpress.org/support/users/techgnome/)
 * (@techgnome)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/url-tegorypostname/#post-117432)
 * nolageek ā that aināt gonna happpen. Itās been tried before w/o much success.
   The ācategoryā bit needs to be there (or some other denoter) to indicate you 
   are following a category link. Other wise it wonāt know.
    Beel ā Nah, just the
   sun, the moon, AND the stars. If Iāve included the post ID in the permalink I
   should never have any collisions of any kind -if I do then thereās something 
   REALLY wrong in the database. And if I happen to have two posts with the same
   name, and I donāt put the post id in the url, then display both (not unlike displaying
   the posts for a particular day), then clicking the title would bring me to the
   full psot & full permalink. I wonāt say that Iāll never have two posts by the
   same name, but 90% of the time Iāll have unique titles. Salathe ā mea culpa ā
   I thought it was there, Iād swear Iād tried it before. I think the reason it 
   isnāt available as a tag, is because of multi-categories. I realize that in your
   case it posts will always be only in one category, so it doesnāt matter, but 
   itās the way it is. I donāt know if anything can be done about that. Tg
 *  [kapowaz](https://wordpress.org/support/users/kapowaz/)
 * (@kapowaz)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/url-tegorypostname/#post-117926)
 * I just stumbled across this thread because Iām trying to do the same; use a mod_rewrite
   rule to redirect [http://server.com/categoryname/subcategoryname/](http://server.com/categoryname/subcategoryname/)
   to a listing of entries within a category. I appreciate that WordPress needs 
   _some_ sort of indicator that a given URL with an otherwise arbitrary set of 
   querystrings represents categories, but I dispute that this makes it impossible
   to do. If as a fallback immediately after checking that the first part of the
   querystring doesnāt represent (part of) a permalink to a specific article, before
   giving an unknown article error, a query could be fired off to see if it matches
   any existing category. If it does then the next part of the URL could be checked
   to see if _that_ matches any subcategories within that category. A third part
   could represent a given post within that subcategory (although there are obviously
   other ways of directly accessing a particular post via its shortname).
 * Seeing as nobody else has yet come up with a solution I may try a bit of inventive
   hacking around with my installation. Iāll post any successes here.
 *  [Lorelle](https://wordpress.org/support/users/lorelle/)
 * (@lorelle)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/url-tegorypostname/#post-117943)
 * Have you had any success with the ācategoryname/subcategoryname/posttitle/ā hack
   yet?
 * Iād really love it.
 *  [nearlythere](https://wordpress.org/support/users/nearlythere/)
 * (@nearlythere)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/url-tegorypostname/#post-117966)
 * Iām hoping to get some clarification on this point tooā¦ Is it just plain impossible
   in WP v1.5 to duplicate the directory structure I had in MT?
 * I had category/postnameā¦ I posted the full question here:
    [http://wordpress.org/support/topic.php?id=18304#post-144905](http://wordpress.org/support/topic.php?id=18304#post-144905)
 * ā¦then realized it was about the ābetaā version. Bah.
 * Iām open to suggestions of hacks, if anyone has any?
 *  [nearlythere](https://wordpress.org/support/users/nearlythere/)
 * (@nearlythere)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/url-tegorypostname/#post-117970)
 * aleck made a tutorial on this subject.
 * 1. You need to hack wp-includes/classes.php to remove the word ācategoryā
 * 2. You need to change the permalink structure in the wp admin area to /%category%/%
   postname%/
 * 3. You need to manually edit the .htaccess, because there is a bug aleck found
   in the way WP edits the .htaccess file.
 * All incredible amazing details here:
    [http://www.aplus.co.yu/it/this-blog-runs-wp-15-now/](http://www.aplus.co.yu/it/this-blog-runs-wp-15-now/)
 * THE ONLY BUMMER is that it apparently is not friendly with sub-categoriesā¦ and
   the sub-category archives do not work- you get a Wp 404 error.
 *  [nearlythere](https://wordpress.org/support/users/nearlythere/)
 * (@nearlythere)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/url-tegorypostname/#post-117971)
 * And another bummer is, if youāre using the page feature, you have to manually
   update your .htaccess each time. Bah!
 *  [sandwiches](https://wordpress.org/support/users/sandwiches/)
 * (@sandwiches)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/url-tegorypostname/#post-118012)
 * I really would like this functionality tooā¦ is it happening?
 *  [nearlythere](https://wordpress.org/support/users/nearlythere/)
 * (@nearlythere)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/url-tegorypostname/#post-118013)
 * Not as far as I know, I have never been able to get it to work. I just accepted
   that my URL structure was not going to make too much sense.
 * so for permalink structure, i just did /%postname%/ and for category base i put
   in āportfolioā. not ideal, but at least my sub category pages work.

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

The topic āURL: /Źtegory%/%postname%/ā is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 15 replies
 * 8 participants
 * Last reply from: [nearlythere](https://wordpress.org/support/users/nearlythere/)
 * Last activity: [20 years, 7 months ago](https://wordpress.org/support/topic/url-tegorypostname/#post-118013)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
