WordPress.org

Ready to get started?Download WordPress

Forums

admin panel auto redirects from http to https (11 posts)

  1. sanjeet.bisht
    Member
    Posted 2 years ago #

    hey my site runs on http but i dont know how from past few days when ever i try to open up my admin panel it auto redirects to https im not able to view my admin panel
    but my site is run fine with http

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Check your urls in settings -> General. What do they say?

  3. sanjeet.bisht
    Member
    Posted 2 years ago #

    hmm i cnt access my admin panel but i have checked it on database its http:// only :O

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    Is there anything in your .htaccess file?

  5. sanjeet.bisht
    Member
    Posted 2 years ago #

    yaa dis

    php_value auto_append_file none
    
    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    # END WordPress
  6. esmi
    Forum Moderator
    Posted 2 years ago #

    Try using:

    php_value auto_append_file none
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
  7. sanjeet.bisht
    Member
    Posted 2 years ago #

    hmm no change :(

  8. esmi
    Forum Moderator
    Posted 2 years ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the Twenty Eleven theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

  9. sanjeet.bisht
    Member
    Posted 2 years ago #

    thanks dude it started working
    i deleted htaccess file :p

  10. esmi
    Forum Moderator
    Posted 2 years ago #

    Wow! I wonder if the server was caching the old .htaccess file?

  11. sanjeet.bisht
    Member
    Posted 2 years ago #

    hahaha i got it now its not because of htaccess its because of plugin :p
    when i restored my plugins the same started :p
    .htaccess is innocent :p :p

Topic Closed

This topic has been closed to new replies.

About this Topic