Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

wordpress http to https

Faiz answered on March 14, 2023 Popularity 9/10 Helpfulness 3/10

Contents


More Related Answers

  • wordpress stop redirect to https
  • wordpress change http to https phpmyadmin
  • wordpress force https
  • wp-admin redirecting to the https wordpress
  • force ssl wordpress functions
  • wp force https
  • wp redirect to https htaccess
  • wordpress default htaccess code http to https redirection
  • wordpress https to localhost http
  • how to force non www and https wordpress
  • Wordpress change http to https from shell
  • inner pages redirecting to the https wordpress

  • wordpress http to https

    0

    RewriteEngine On

    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    RewriteBase /

    RewriteCond %{HTTPS} !=on

    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

    RewriteRule ^index\.php$ - [L]

    # add a trailing slash to /wp-admin

    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]

    RewriteCond %{REQUEST_FILENAME} -d

    RewriteRule ^ - [L]

    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]

    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]

    RewriteRule . index.php [L] 


    Popularity 9/10 Helpfulness 3/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Mar 14 2023
    Faiz
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.