apache - OpenCart .htaccess 301 redirect -


I enter www in the domain

.htaccess content:

  # options + follow-up symlink   IfModule mod_rewrite.c & gt; Start the #OPENCART revival on the reinsurance engine. Rewind Conduit% {REQUEST_FILENAME}! -f rewrite code% {REQUEST_FILENAME}! -D Rivieraithm ^ (. *) Index.php #OPENCART Revives and Rewinding On Retreatbase / RewriteCand% {HTTP_HOST}! ^ Www.mysite.com.com [NC] Rev.Aril. ^ (. *) $ Http: // www \ .mysite \ .com / $ 1 [R = 301, L] & lt; / IfModule & gt;  

Note that 302 redirects are working

me It seems that all you want to do is do this within your Apache configuration file.

  Rev. Revoke on% {HTTP_HOST} ^ mysite \ .comRewriteRule ^ (. *) $ Http: //www.mysite .com / $ 1 [R = 301, L]  > 

Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -