Forums

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

  1. sanjeet.bisht
    Member
    Posted 9 months 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
    Theme Diva & Forum Moderator
    Posted 9 months ago #

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

  3. sanjeet.bisht
    Member
    Posted 9 months ago #

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

  4. esmi
    Theme Diva & Forum Moderator
    Posted 9 months ago #

    Is there anything in your .htaccess file?

  5. sanjeet.bisht
    Member
    Posted 9 months 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
    Theme Diva & Forum Moderator
    Posted 9 months 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 9 months ago #

    hmm no change :(

  8. esmi
    Theme Diva & Forum Moderator
    Posted 9 months 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 9 months ago #

    thanks dude it started working
    i deleted htaccess file :p

  10. esmi
    Theme Diva & Forum Moderator
    Posted 9 months ago #

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

  11. sanjeet.bisht
    Member
    Posted 9 months 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

Reply

You must log in to post.

About this Topic