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?
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?
Review Using_Permalinks.
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>
You must log in to post.