Answers for "redirects code for htaccess"

PHP
0

http to https redirect htaccess

RewriteEngine On 
RewriteCond %{HTTPS} off 
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Posted by: Guest on July-12-2021
0

.htaccess Redirects

Redirect /old_dir/ http://www.yourdomain.com/new_dir/index.html
Posted by: Guest on December-03-2021

Browse Popular Code Answers by Language