Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Removing RewriteBase / from my htacess has sped up my site which is still working correctly. Is it really required and what is it for?

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

'RewriteBase /' is not needed. RewriteBase allows you to change your internal directory structure to something other than what a browser sees. IE: If all your files are in 'http://mydomain.com/site', but you wanted 'http://mydomain.com' to be the path browsers see, you would use a RewriteBase /site and apache's mod_rewrite would happily add that substitution for you.

A RewriteBase / is not necessary.

share|improve this answer
    
I guess if it were required - my site would break? –  Innate Feb 26 '11 at 10:43
    
oops - it does break the site. Without it /wp-admin/ uses the user path in Apache... /usr/www/ etc - it looks like it is necessary for Worpdress to function correctly. –  Innate Feb 27 '11 at 16:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.