WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

Your Answer


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.