0

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

2

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

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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