Prettifying URL's
I've been trying for an hour to get this to work.
$Configuration['Garden']['RewriteUrls'] = FALSE;
Doesn't seem to want to actually rewrite the URL's and I get 404'd.
My .htaccess looks like the following..
# Modified
# If you modify this file then change the above line to: # Modified
<IfModule mod_rewrite.c>
RewriteEngine On
# Certain hosts may require the following line.
# If vanilla is in a subfolder then you need to specify it after the /.
# (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
# RewriteBase /html
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
</IfModule>
Can someone please explain why?
0
Comments
Have you also tried setting it to
true?My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
$Configuration['Garden']['RewriteUrls']needs to be true.also have you checked that
mod_rewriteandAllowOverrideare enabled with apache?grep is your friend.
Haha, my mistake. I had it set to true though when I was testing.
@x00 Checking now!
@x00 Just checked, both are enabled!