Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Messy URLs
I just downloaded the latest Vanilla to play around with it and see if I liked it. I'm using PHP 5.2 and MySQL 5.0. My question is why my URLs are looking so very messy. Right now, they're something like this: domain.com/index.php?p=/dashboard/settings/plugins
I'd like it if they were like the Vanilla forums here, and looking more like this: domain.com/dashboard/settings/plugins
I'd like it if they were like the Vanilla forums here, and looking more like this: domain.com/dashboard/settings/plugins
Tagged:
2
Comments
$Configuration['Garden']['RewriteUrls'] = FALSE;
and change the value to TRUE.
What host are you on? Can you give us your webserver and version from phpinfo()?
I know I've installed other things and had to mess with the .htaccess file to get the clean URLs to work, I just can't recall exactly what I needed to do.
Thanks!
If you're interested, it's because .htaccess starts with a '.' which means it's a hidden file in unix which means it doesn't copy.
We should probably put a check in there on install actually.
You need:
- Apache
- htaccess support
If you have both of these (confirmed), then do this:
1) Put vanilla's default .htaccess file in the root of your vanilla install. That means your htaccess file should be sitting right next to your index.php and bootstrap.php files
2) Edit conf/config.php
Add
$Configuration['Garden']['RewriteUrls'] = TRUE;
at the endYour forum should now function with rewrite urls.
Vanilla Forums COO [GitHub, Twitter, About.me]
Options FollowSymLinks AllowOverride All
After restarting apache, it worked.