• htmanning

    (@htmanning)


    Everthing is fine with my install until I try to use friendly URLs. No matter which format I choose, WP updates my .htaccess file with:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Once that is done, the site is fine but I cannot access the admin. When I try to access the admin I get an error that says, “Sorry, no files match your criteria.”

    Switching back to the default URLS makes it work again.

    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    (@esmi)

    WP updates my .htaccess file with

    Yes – that is correct.

    Switching back to the default URLS makes it work again.

    Sounds like there’s an issue with your server and mod-rewrite. Have you asked your hosts about this?

    Thread Starter htmanning

    (@htmanning)

    Actually, I think it is happening because I have the wp-admin directory protected with an .htaccess password. Removing that password fixes it. I need a way to keep the .htaccess password because whenever I don’t protect the wp-admin directory, my blog gets hacked. EVERY SINGLE TIME! So if I have to choose I’m going to go with the password protection and the unfriendly URLS, but I’m hoping someone has a workaround.

    Thanks.

    esmi

    (@esmi)

    my blog gets hacked. EVERY SINGLE TIME!

    Have you completely removed all hacker backdoors?
    https://ottopress.com/2009/hacked-wordpress-backdoors/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot reach admin after using friendly URLS’ is closed to new replies.