• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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