Gary Samuels
asked on
find and replace used in 301 redirect
I would do this:
RewriteCond %{REQUEST_FILENAME} !-s
RewriteRule ^/category/CR101.html$ /category/CREST-101.html [R=301,nc]
Except I have about 200 pages all the same except the for the number. How can I write a single 301 redirect that will change the CR to CREST- ?
RewriteCond %{REQUEST_FILENAME} !-s
RewriteRule ^/category/CR101.html$ /category/CREST-101.html [R=301,nc]
Except I have about 200 pages all the same except the for the number. How can I write a single 301 redirect that will change the CR to CREST- ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.