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

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -