rewrites for wordpress in subfolder
November 04, 2011 04:43PM
Hello all 2gether,

I have a little or maybe big problem with the rewrites at my webpage I applyed the following rule there:
if (!-e $request_filename) {
rewrite ^([_0-9a-zA-Z-]+)?(/wp-.*) $2 break;
rewrite ^([_0-9a-zA-Z-]+)?(/.*\.php)$ $2 last;
rewrite ^ /index.php last;

Now the problem is, that I may access this file
but not this
Just for understanding: Wordpress ist installed in so the WP-Admin directory is But the blog URL is just The problem ist not that the stylesheets in the wordpress directory are not accessible, but the administrative directory wp-admin is also not accessible. This might be a good protection against hackers but it brings the little problem to you, that you can't publish any content in your blog.

I really hope for your help.

Sincerely Wuriu

(this is also posted in the german forum, but the cance for reply here is much better)

Edited 1 time(s). Last edit at 11/04/2011 04:44PM by WuriuSengu.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 91
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready