var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Access folders in root / bypass Wordpress
My blog is set up to display in the root of my domain, although the files on the server sit within their own folder:
www . mydomain . com/
(disaplys pages from /wordpressfiles)
The problem I have is that I can't access individual directories within the root, unrelated to wordpress.
Setup on the server, but if I enter the path in my browser:
www . mydomain . com/folder2
wordpress thinks I want to access:
www . mydomain . com/wordpress/folder2
...which doesn't exist.
How can I re-gain access to folders in the root, without wordpress interfering?
Last edited by alexondrums; 07-23-2009 at
Moved > Technical & Security Issues.
I can usually accomplish this by adding something like this to the top of the .htaccess rewrite rules:
RewriteRule ^folder2/ - [L]
That tells mod_rewrite to stop looking at anything in that directory, and I think it should get the effect you desire, however if you're using Wordpress as the 404 handler it will still hand it off to Wordpress if the URL doesn't exist in that directory.
I used to run the oldest commercial
By yohanesw in forum Hosting Security and Technology
Last Post: 08-25-2008, 11:43 AM
By MonteVesubio in forum Web Design and Content
Last Post: 06-06-2008, 09:29 PM
By stooley in forum Hosting Security and Technology
Last Post: 03-03-2006, 03:19 AM
By learnerman in forum Hosting Security and Technology
Last Post: 06-06-2005, 06:42 PM
By dxoxb in forum Hosting Security and Technology
Last Post: 01-26-2005, 04:40 PM