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.
.htaccess file not working
smokvinlist
New
Hi,
Not sure why, but when I install new 2.5 version .htaccess file doesn't work anymore.
I've used 2.3 version before on same server and it was working fine.
Not, every URL goes to ?p= query for some reason.
Rewrite module is enabled on server as it's working with other sites.
UPDATE:
By not working, I mean that Vanilla is generating urls like: https://domain.com/index.php?p=/categories/general, although when I manually change URL to https://domain.com/categories/general it's displaying ok.
0
Comments
Are you sure you have set
$Configuration['Garden']['RewriteUrls'] = true;
in your /conf/config.php?Please post the htaccess file
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Here is .htaccess
`# Original
If you modify this file then change the above line to: # Modified
RewriteEngine On
Header set Cache-Control "max-age=315360000"
Header set Expires "31 December 2037 23:59:59 GMT"
`
I didn't setup
$Configuration['Garden']['RewriteUrls'] = true;
in conf.php as I thought it was by default (fresh installation of 2.5 version)Yeah, didn't setup this as I thought it was by default on 2.5 version.
When I add this, it's working with URL generator, but all URLS are showing same page, "homepage".
Whatever I click, it doesn't seem that it's processed by index.php.
Please try replacing your .htaccess file with e.g. the version which is mentioned here
Interesting. That one worked. Does this mean that original, which is delivered with Vanilla Forum 2.5 have some error in it?
Yes , since 2.3 not sure why but hopefully they will fix it from now on.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Ok. Cool. Hope @Linc will see this thread. Thank you guys.