Adding a word to the custom permalink

  • Unknown's avatar

    Hi,

    At the moment I’m using urls in the following structure:

    /%category%/%postname%

    However I want to change it to:

    news/%postname%

    but if I do this I get 404 errors.

    I know changing urls after a site has been around is bad for seo but I plan to 301 the urls with .htaccess so there won’t be an issue.

    RewriteRule ^category/([a-zA-Z0-9-_]+)/ http://domain.com/news/$1 [R=301,L]

  • Unknown's avatar

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

  • Unknown's avatar

    Sorry you are in the wrong forum – see the reply by the supportbot above – you need to make friends over at WordPress.ORG.

  • The topic ‘Adding a word to the custom permalink’ is closed to new replies.