WordPress.org

Ready to get started?Download WordPress

Forums

Permalink /category/ (3 posts)

  1. mystifier
    Member
    Posted 2 years ago #

    Regardless of whether I set permalinks to:
    /%postname% or /%category%/%postname%

    The URL always includes /category/

    eg.

    website.co.uk/category/mycategory/mypage

    Is there a way to tidy this without changing core code?

  2. esmi
    Forum Moderator
    Posted 2 years ago #

  3. mystifier
    Member
    Posted 2 years ago #

    Thanks esmi, but that is exactly what I read to set-up the permalinks.

    I would like my URL to be:
    website.co.uk/mycategory/mypage
    but I get:
    website.co.uk/category/mycategory/mypage
    (where /category is literally, always "/category")

    I have numerous websites with different templates and the same is true in all cases.

    I can't see what else to try. /%postname% and /%category%/%postname% seem to produce exactly the same result.

    .htaccess is exactly as recommended:

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.