• 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//

Viewing 3 replies - 1 through 3 (of 3 total)
  • What happens when you clear your cache and cookies ?

    Thread Starter oerdec

    (@oerdec)

    Same behaviour.
    I deleted all temporary stuff and checked it with different browsers on different machines and different os ??

    Thread Starter oerdec

    (@oerdec)

    problem fixed:
    it?′s necessary to use a permalink structure like this:
    /%year%/%monthnum%/%day%/%postname%/
    I had a second problem. wp_get_archives didn?′t work. But now everything is fine.
    oerdec//

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘RewriteEngine makes wp-login.php a directory’ is closed to new replies.