Title: permalink bug!
Last modified: May 6, 2020

---

# permalink bug!

 *  [mrgeeky](https://wordpress.org/support/users/mrgeeky/)
 * (@mrgeeky)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/permalink-bug-6/)
 * Hi. From 4 years ago that I started learning WordPress, I’m seeking for a solution
   to this bug:
    [http://uupload.ir/files/cby_wordpress-bug.jpg](http://uupload.ir/files/cby_wordpress-bug.jpg)
   You can never have a clean URL structure for your blog like this: mmirzaee.ir/
   blog/post-name/ . Why? Because all your posts and categories will be 404! (I’m
   not talking about past URLs. I mean new URLs are also 404!!! Yes It’s possible.
   Try yourself!) It will happens when you fill out “Category Base” property + adding
   sth before URL structure at form. fill out forms exactly like image please! .
   I’m using latest wordpress version (5.4.1) When I was testing this bug, no plugins
   were activated.
    -  This topic was modified 6 years, 1 month ago by [mrgeeky](https://wordpress.org/support/users/mrgeeky/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpermalink-bug-6%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Nigel M Rodgers](https://wordpress.org/support/users/rodgersnigel/)
 * (@rodgersnigel)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/permalink-bug-6/#post-12789221)
 * Single post: example.com/blog/post-name
    posts archive: example.com/blog/ category
   archive: example.com/blog/category-name/
 * Is the above what you are trying to achieve? This is a tricky problem. My fix
   only works for new posts. Set the permalink structure as
 * /blog/%postname%/
 * as in the screenshot: [https://imgur.com/a/ljmOwSc](https://imgur.com/a/ljmOwSc)
 * Then create a new category called “Blog” with slug “blog” and set it to parent
   of **all** categories
 * Whenever you create a new post you can assign any category except Blog and the
   permalink structure will work.
 *  [pattymendes](https://wordpress.org/support/users/pattymendes/)
 * (@pattymendes)
 * [6 years ago](https://wordpress.org/support/topic/permalink-bug-6/#post-12872597)
 * Hi there. I´m having an issue with the permalink to my homepage. It´s a dropdown
   menu, the 1st item is Home ([http://localhost/tema/home](http://localhost/tema/home))
   with the link above, then 2 items above, working well. But when I try to go back
   to the homepage, it doesn’t o anything. Can someone try to explain that to me,
   please? thank you.
    [patriciamendesps@gmail.com](https://wordpress.org/support/topic/permalink-bug-6/patriciamendesps@gmail.com?output_format=md)
 *  [pattymendes](https://wordpress.org/support/users/pattymendes/)
 * (@pattymendes)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/permalink-bug-6/#post-13214567)
 * thank you both [@rodgersnigel](https://wordpress.org/support/users/rodgersnigel/),
   [@mrgeeky](https://wordpress.org/support/users/mrgeeky/).

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

The topic ‘permalink bug!’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [pattymendes](https://wordpress.org/support/users/pattymendes/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/permalink-bug-6/#post-13214567)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
