Answers for "how to find 301 redirects"

PHP
2

301 redirect

#In .htaccess
  
Redirect 301 /old-page https://www.example.com/new-page
Posted by: Guest on July-13-2020
1

301 redirect http to https

#For apache .htaccess
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Posted by: Guest on October-02-2020

Code answers related to "how to find 301 redirects"

Browse Popular Code Answers by Language