Forums

Apache Htaccess Redirect URL to SSL...? (2 posts)

  1. lavrai
    Member
    Posted 4 years ago #

    I'm really struggling with figuring out how to re-direct my WordPress login page to a shared ssl. Can someone please help?

    This the basic code:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blogs/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blogs/index.php [L]
    </IfModule>

    How do I modify it to redirect to my the shared ssl address Bluehost provides for users?

  2. BernardBorealis
    Member
    Posted 3 years ago #

    Within WordPress go to Settings, and then change the location of the WordPress Address and Blog Address to https://www.yourdomain.com/~username/
    however, that changes it for your whole site, not just the login section.

    WordPress hates redirects, but this option seems to be the best I've seen yet. It takes a bit of reading, but try it out: http://boren.nu/archives/2008/07/14/ssl-and-cookies-in-wordpress-26/

    You'll have to have WordPress 2.6 to do it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags