Forum Moderators: phranque

Message Too Old, No Replies

301 redirect files

from filename+filename to filename-filename

         

kenj

5:43 pm on Oct 30, 2007 (gmt 0)

10+ Year Member



We installed Wordpress 2.3 and had been using a tag plugin that created filenames like www.example.com/blog/tag/new+products

Since that plugin doesn't work with the new wordpress we opted to use the new wordpress tag option. It creates a file name exactly like the plugin except the + separator is replaced with a - like www.example.com/blog/tag/new-products

So we have a bunch of /tag/ URL's both ways.

How do I create a .htaccess 301 redirect to send all + separators to - separator URL's.

Thanks