I suppose technically this is more Apache than html, but Dynamic Drive has no Apache forum, and html seems a bit more descriptive than "other," so I hope y'all will indulge me:
My .htaccess file begins with the following:
Might someone be able to indicate exactly what the "RewriteRule ^(.*)$ https://www.marainlaw.com/$1 [R=301,L]" statement does, and what would be the effect of its removal?Code:ErrorDocument 404 /404.html Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^marainlaw\.com RewriteRule ^(.*)$ https://www.marainlaw.com/$1 [R=301,L] RewriteCond %{HTTPS} off RewriteRule (.*) https://%{SERVER_NAME}/$1 [R=301,L]
A.
Bookmarks