Strange admin redirect ??

Hi,

I have a weird problem.
I'm running edu-clean theme and yesterday, everything worked just fine.
But now, when I try to login as admin, it redirects to this (instead to admin login):
"http://my_domain.com/wp-login.php?redirect_to=http%3A%2F%2Ftreport.si%2Fwp-admin%2Findex.php"

Help,pls!

Darja

  • darja
    • WPMU DEV Initiate

    Hi, thanks for the reply.

    Yes, I did move all the mu-plugins to different folder, but no luck. I think there maybe something wrong with my htaccess file. Anyhow, this is giving me a real headache:slight_frown:
    Could I PM you my FTP, maybe? If you have any time to look at it? Pls?
    Thanks and have a nice day!

    Darja

  • Andrew
    • Champion of Loops

    Hiya,

    We really only provide support for our plugins and themes. We're happy to assist with general WPMU issues via the forums but I'm afraid we can't fix your install for you. If you want to post your htaccess file contents here we'd be happy to take a look.

    Thanks,
    Andrew

  • darja
    • WPMU DEV Initiate

    Hi,

    Yes, I understand:slight_smile:
    OK, here it is:

    php_flag register_globals 0
    php_flag display_errors 0

    RewriteEngine On
    RewriteBase /

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
    RewriteRule ^(.*/)?global-comments-feed/(.*) wp-content/recent-global-comments-feed.php [R=301,L]
    RewriteRule ^(.*/)?global-posts-feed/(.*) wp-content/recent-global-posts-feed.php [L]

    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    SecFilterEngine Off
    SecFilterScanPOST Off

  • Andrew
    • Champion of Loops

    Aside from the bit drmike pointed out these are the only two lines that aren't in the stock .htaccess file:

    php_flag register_globals 0
    php_flag display_errors 0

    I seriously doubt those two lines would be causing this problem but you might want to make sure. I've seen some weird hosting configurations where certain items in a .htaccess file will result in odd problems.

    Thanks,
    Andrew

  • drmike
    • DEV MAN’s Mascot

    Greets and welcome to wpmudev.

    We need a lot more information to go on to help you. Most support forums require a link as well as a check of your webserver's error logs when asking for help. Also what other plugins do you have installed? Please remember specifics and information are always a plus.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.