Hello everyone,
I have a problem with my website's URLs.
This website used to run on Gallery 2 CMS and the URLs were like
http://www.example.com/celebrities/v/models/male/name+surname/ (with a PLUS sign)
Now I moved it all to a new host and used Gallery 3 and the URLs now are
http://www.example.com/celebrities/v/models/male/name-surname/ (MINUS sign)
I tried this code (and lots of others) in the .htaccess file to redirect the old URL to the new one but when all I get is a 404 error when I try entering with a link with a PLUS sign in it, or else they stop the site from working altogether.
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /celebrities/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
RewriteRule ^index.php/(.*) $1 [QSA,R,L]
RewriteRule ^([^\+]*)\+([^\+]*)\+([^\+]*)\+([^\+]*)\+([^\+]*)$ $1-$2-$3-$4-$5 [L,R=301]
RewriteRule ^([^\+]*)\+([^\+]*)\+([^\+]*)\+([^\+]*)$ $1-$2-$3-$4 [L,R=301]
RewriteRule ^([^\+]*)\+([^\+]*)\+([^\+]*)$ $1-$2-$3 [L,R=301]
RewriteRule ^([^\+]*)\+([^\+]*)$ $1-$2 [L,R=301]
</IfModule>
PLease note that some urls have more than one "+" so I had to do that.
Also note that I'm a complete newbie on this, so it's really been one day of shots in the dark for me (I tried all sorts of codes I could find online and tried tweaking them to my needs).
What am I doing wrong?