Welcome! Log In Create A New Profile

Advanced

rewrites for wordpress in subfolder

Posted by WuriuSengu 
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 http://kultur-whg.de. 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
http://kultur-whg.de/581a2fb9fb6464b5412b6c895b/wp-content/themes/kaw/style.css
but not this
http://kultur-whg.de/kblog406/wp-content/plugins/cforms/styling/cforms.css
Just for understanding: Wordpress ist installed in http://kultur-whg.de/kblog406/ so the WP-Admin directory is http://kultur-whg.de/kblog406/wp-admin. But the blog URL is just http://kultur-whg.de. 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: 99
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready