• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved https 301 redirect for wordpress

Kingsley

Silver Pleskian
Hello;

I am switching all my sites to HTTPS and i need help setting up the 301 redirect.

Thanks
 
This is what i use i dont know if its the correct one

Code:
# BEGIN Force http to https
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !=on [NC]
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
</IfModule>
# END Force http to https
 
Hi Kingsley,

but i want to retain my shares, DA, PA and other ranks
:rolleyes: ... and now, pls. explain, what makes you think, that you will loose pageranks, when redirecting from http to https with the help of 301 - redirects in your configuration files, instead of ".htaccess" - files? ( pls. based on FACTS... not with the help of strange posts from so called "SEO professionals" or suspicious bloggers, pls. )
 
Hi Kingsley,


:rolleyes: ... and now, pls. explain, what makes you think, that you will loose pageranks, when redirecting from http to https with the help of 301 - redirects in your configuration files, instead of ".htaccess" - files? ( pls. based on FACTS... not with the help of strange posts from so called "SEO professionals" or suspicious bloggers, pls. )

You won this time :D:D:D however i know of SOCIAL SHARES disappearing due to change of URL
 
Back
Top