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

  1. This does not accept regex patterns.
  2. Patterns do not need to be enclosed in quotes.
  3. If all the rules are for the same host emfs.info , then you do not need to use the entire URL structure.
  4. 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

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -