The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Redirect htaccess HTTPS for /wp-admin/ & /wp-login.php and HTTP for everything

Discussion in 'Bind / DNS / Nameserver Issues' started by Faal, Aug 14, 2015.

  1. Faal

    Faal Member

    Joined:
    Jul 1, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    iran
    cPanel Access Level:
    Website Owner
    hi
    Please help me

    Redirect htaccess HTTPS for /wp-admin/ & /wp-login.php and HTTP for everything

    I need that my website is displayed only http and Remove WWW
    Only settings for file ".htaccess" in cPanel
    for all addresses and sub-folders

    except file:
    /wp-login.php
    &
    except folder:
    /wp-admin/

    Force to use /wp-login.php & /wp-admin/

    For example:
    http://domain.com/
    https://domain.com/wp-login.php
    https://domain.com/wp-admin/

    end result: Remove WWW and display website only HTTP and except /wp-login.php & /wp-admin/

    Please compatible with WordPress
    please compact result

    Thank
     
Loading...

Share This Page