apache - OpenCart .htaccess 301 redirect -
I enter www in the domain
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; .htaccess
content:
# options + follow-up symlink
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
Post a Comment