url rewriting - Redirect issue with .htaccess file -
I'm trying to add a redirect to my .htaccess file and I> + < Sign in to / Code> URL.
My
.htaccess file
Redirect 301 "^ http: //www.emfs.info/glossary/glossary+c.htm$ "Http://www.emfs.info/glossary-2/" Any help would be great
- This does not accept regex patterns.
- Patterns do not need to be enclosed in quotes.
- If all the rules are for the same host
emfs.info , then you do not need to use the entire URL structure.
Ensure that mod_alias is being loaded. Try:
Redirecting Permanent / Glossary / Glossary + C.htm $ / glossary-2 / Place this in your document root in the .htaccess file. If you want another method by using mod_rewrite , try the following:
RewriteBase / RewriteCond% {HTTP_HOST} www at RewriteEngine .emfs \ .info $ RewriteRule ^ /? Vocabulary / Glossary \ + c.htm $ / glossary-2 / [R = 301, L] Put it in the htaccess file in the same place. / P>
Comments
Post a Comment