Support » Fixing WordPress » URL rewriting problem

Viewing 3 replies - 1 through 3 (of 3 total)
  • If you read the wiki, %category% might not always work.

    Note on using %category%
    %category% does not work correctly with some implementations of mod_rewrite in Apache versions prior to 2. If you are using Apache 1 and experience problems with using %category, either do not use %category% in your permalink structure, or refer to Schlueterica’s plugin (
    Note on using %category% with multiple categories on a post
    Where you assign multiple categories to a post, only 1 can show up in the permalink. This will be the lowest numbered category (see Manage Categories). The post will still be accessible through all the categories as normal.


    I have posts in multiple category, and I am using Apache 2.0 +

    here is my .htaccess for your reference

    <Files .htaccess>
    order allow,deny
    deny from all

    # Begin non-www page protection #
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !^ [NC]
    RewriteRule ^(.*)$$1 [L,R=301]
    # End non-www page protection #

    DirectoryIndex index.php index.html

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

    # END WordPress

    hope that helps


    Not sure why and how that problem created. I read most of blog/forum post and all suggest some conflict to url rewriting that stop Working of URL Permalinks.

    I solved my problem, by doing two things.

    1) Sort the URL rewriting rule as per my usage.
    2) Add some custom rules as per my requirement. all these need to be done in classes.php file (in function function rewrite_rules() )

    Hope that help others too

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘URL rewriting problem’ is closed to new replies.