Support » Fixing WordPress » Permalink woes

  • In short: I’d like my post URLs to have the category URLs as a base. For my blog, the category should be (“blog” is a category): (lists all blog posts, is page 2)

    and the post should be:

    Or, alternatively it could be something like and But it makes sense for users to be looking at the blog and then when they click an entry, they go deeper in and the URL base stays the same.

    Thanks for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Set your desired wordpress permalink from admin area and add this code in htaccess of your blog;

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress


    Shane G.

    Thanks for the reply, Shane. That code is already inside my .htaccess, and I don’t see how it fixes my problem. Right now single pages are accessed as, or

    My category (like “blog”) pages have to be at, where xxx is some identifier of my choosing.

    This above schema doesn’t make sense to me and I don’t want to impose it on my users, because doesn’t look like it’s “inside”

    Is there a way around what I’m explaining?

    I tried to change my post links to and leave the category identifier as “xxx”, and then rewrite to … but the rewrite wasn’t working. I removed the [L] from the WordPress rewrites so they don’t stop.

    A secondary question, I guess, is where I can put my own rewrites and not have them conflict with WordPress’.



Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Permalink woes’ is closed to new replies.