Title: Need Help Setting Up URL/Permalink Structure
Last modified: August 20, 2016

---

# Need Help Setting Up URL/Permalink Structure

 *  Resolved [FireBot6](https://wordpress.org/support/users/firebot6/)
 * (@firebot6)
 * [15 years ago](https://wordpress.org/support/topic/need-help-setting-up-urlpermalink-structure/)
 * I’ve read about a lot of things that are close to what I’m looking to do, but
   for some reason they aren’t working or I’m attempting them incorrectly.
 * Right now I’m working on using a WordPress 3.1.3 installation as a CMS for my
   entire website, not just my blog. So what I would like is for the blog front 
   page, single blog posts, category lists, and tag lists to all have a starting
   URL that looks like this: [http://www.mydomain.com/blog/](http://www.mydomain.com/blog/)
 * So far I have it working for the blog front page and category links. However,
   tag pages still show up as [http://www.mydomain.com/tag/tag-name](http://www.mydomain.com/tag/tag-name),
   and single blog pages bring back a 404 error when I try to visit them.
 * Currently, I’m using the following line in my .htaccess file, as per one of the
   threads I found to get rid of the category link:
 * `RewriteRule ^category/(.+)$ http://www.mydomain.com/$1 [R=301,L]`
 * I’m also using a custom permalink structures that looks like this:
    /%category%/%
   postname%
 * Category Base: blog
    Tag Base: blank/default (if I set this to “blog” I get 404
   errors on the tag pages)
 * Hopefully all of that makes sense. I would appreciate any information you can
   give me. I’ll be checking this thread regularly as this is one of the last things
   I’m stuck on with this project. So if you need more information, feel free to
   ask and I should get back to you quickly.
 * **EDIT**
    Some more information I had forgotten about.
 * With my category structure, I had all of my categories as a child to a category
   named “Blog.” That’s what gave me the correct URL structure for the single post
   pages, but also what was causing the 404 error. So I’m back to square one with
   the single post pages again.

Viewing 1 replies (of 1 total)

 *  Thread Starter [FireBot6](https://wordpress.org/support/users/firebot6/)
 * (@firebot6)
 * [15 years ago](https://wordpress.org/support/topic/need-help-setting-up-urlpermalink-structure/#post-2115061)
 * I finally got this working. For anyone looking for some more information about
   this, visit: [http://wordpress.stackexchange.com/questions/19238/how-do-i-add-blog-as-a-prefix-to-permalink-structure-for-blog-posts-tag-pages](http://wordpress.stackexchange.com/questions/19238/how-do-i-add-blog-as-a-prefix-to-permalink-structure-for-blog-posts-tag-pages)
 * I ended up walking myself through to a fix with some extra help. It was some 
   weird behavior with having the Category Base set as “blog” along with everything
   else.

Viewing 1 replies (of 1 total)

The topic ‘Need Help Setting Up URL/Permalink Structure’ is closed to new replies.

## Tags

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

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 1 participant
 * Last reply from: [FireBot6](https://wordpress.org/support/users/firebot6/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/need-help-setting-up-urlpermalink-structure/#post-2115061)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
