Do i need to use 301 redirect?

  • Hi, My current website url is: and I will release a completely new website that will use a SSL Certificate and because it’s a full new website all the url’s will be new and different from the “old” website. For your information, I'm using [url=][/url] hosting service. Their support told me to use the following lines on my .htaccess file: [code]RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.) https://%{HTTP_HOST}%{REQUEST_URI} [R,L] [/code] But when researching for this on google, I have found many websites telling that we should always use a 301 redirect and to do that the .htaccess file should be: [code]RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] [/code] So in order to resume, it’s the same domain, but now with a SSL Certificate and a full new website. In this case do I need to use the 301 redirect on my .htaccess file? Thanks!

  • Moderator

    301 ist the correct HTTP status code.
    Because it redirects permanent to the new URI.

    Most searchengines update their database to new location only on a Status 301.


Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.