WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #16662, comment 3


Ignore:
Timestamp:
02/28/2011 05:06:47 AM (7 years ago)
Author:
reviewmylife
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16662, comment 3

    v1 v2  
    2020If I add 'blog' to the 'Category Base' then all the single posts start giving a 404.
    2121
    22 As a temporary workaround I have added a 302 redirect from the location where the categories / tags are supposed to be to the location where they previously are:
     22As a temporary workaround I have added a 302 redirect from the location where the categories / tags were previously to their new location:
    2323
    2424
     
    2727RewriteRule ^blog/tag/(.+)$ http://www.[MYBLOG].co.uk/tag/$1 [R=302,L]
    2828}}}
     29
     30Maybe I'll make this a 301 redirect as the category/tag URLs do look better without the 'blog'.
     31
     32However adding an entry to the 'Category base' still shouldn't cause all posts to 404 - especially as the category has no part in the post URL.