Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

Discussion in 'Bind/DNS/Nameserver' 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
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,183
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice