RewriteEngine makes wp-login.php a directory
-
hi,
I have a little problem with the RewriteEngine:
When I enter https://example.com/wp-login.php I get the login form. After pressing Login I?′m redirected to index.php and I get the message Sorry, no posts yet..
I have a link to the admin panel on the index.php – same result.
I just can enter it via an Edit this link.
My .htaccess looks like this:
RewriteEngine On
RewriteBase /
RewriteRule ^category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?category_name=$1&feed=$2 [QSA]
RewriteRule ^category/?(.*) /index.php?category_name=$1 [QSA]
RewriteRule ^author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?author_name=$1&feed=$2 [QSA]
RewriteRule ^author/?(.*) /index.php?author_name=$1 [QSA]
RewriteRule ^([_0-9a-z-]+)/?([0-9]+)?/?$ /index.php?name=$1&page=$2 [QSA]
RewriteRule ^([_0-9a-z-]+)/?/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?name=$1&feed=$2 [QSA]
RewriteRule ^([_0-9a-z-]+)/?/trackback/?$ /wp-trackback.php?name=$1 [QSA]
RewriteRule ^feed/?([_0-9a-z-]+)?/?$ /wp-feed.php?feed=$1 [QSA]
RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ /wp-feed.php?feed=$1&withcomments=1 [QSA]
It?′s not a big problem but maybe anyone has a solution.
thanks, oerdec//
- The topic ‘RewriteEngine makes wp-login.php a directory’ is closed to new replies.