HTML and CSS Reference
In-Depth Information
# RewriteBase /
If your site is in a subfolder, remove the # from the RewriteBase line and set it to
the full path to the subfolder from the root.
Preventing 404 errors for non-existing redirected
In Apache, you need to disable MultiViews if you want to redirect URLs requested
from paths, that do not exist, to another path.
For example, if you have an incoming request to
beaches/10 and you want it to internally redirect to
dex.php?q=10 and the folder beaches does not exist in the root folder of your
website, Apache would throw an error. The HTML5 Boilerplate's .htaccess file pre-
vents this from occurring by using the following code statement:
Options -MultiViews
Search WWH ::

Custom Search