Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2006
    Posts
    283
    Plugin Contributions
    0

    Default .htaccess changed to redirect to https now cant login to admin

    I placed the following in my htaccess:
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

    And now my admin log in will not work.

    Any ideas?

    Thanks

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: .htaccess changed to redirect to https now cant login to admin

    If putting that in your .htaccess broke it, then I'd suggest undoing whatever you did.


    And then the next question is ... "why" did you do that in the first place?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v139h My recently-added .htaccess redirect rule is preventing admin login
    By joecooper in forum General Questions
    Replies: 6
    Last Post: 5 Mar 2012, 04:43 PM
  2. .htaccess redirect makes admin login fail
    By jlknauff in forum General Questions
    Replies: 14
    Last Post: 16 Sep 2010, 02:22 PM
  3. I changed my domain, now i can't login in to my admin
    By woodworker2090 in forum General Questions
    Replies: 1
    Last Post: 30 Mar 2010, 04:22 AM
  4. Cant login to admin after 301 redirect htaccess
    By Drunkguy in forum Basic Configuration
    Replies: 7
    Last Post: 15 Jan 2010, 11:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR