WordPress.org

Support

Support » How-To and Troubleshooting » Remove /tag/ from url

Remove /tag/ from url

  • Greetings, I am implementing a wordpress installation for a client and want to remove /tag/ from url while keeping tag functionality. The website is http://www.montgomerysansome.com/
    tags look like montgomerysansome.com/tag/San-Francisco now, I would like them to look like montgomerysansome.com/San-Francisco without the /tag/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Shane G.
    Member

    @shane-g-1

    Hi,

    In order to remove the tag from URL, you need to add rewrite rule in htaccess of your blog. Here is the rewritre rule code:

    RewriteRule ^tag/(.+)$ http://www.yourblog.com/$1 [R=301,L]

    Thanks,

    Shane G.

    This gives me 500 error, any way to do this without a htaccess

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove /tag/ from url’ is closed to new replies.