HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Forum doesn't change to pretty urls
Duxez
New
I've updated my forum to 3.3 and done everything required to switch from using the /p= parameter but it still uses the parameter and does not switch to pretty urls.
I'm pretty stumped right now on what to do about it.
Tagged:
0
Comments
I take it you have the rerwite rules in your .htaccess file and this in your /conf/config.php file?
$Configuration['Garden']['RewriteUrls'] = true;
If so try clearing the cache in your browser or try a mobile or something as it should work.
Yes, sometimes you oversee the obvious. Simply try if yourforum.com/profile shows your profile
All of it done, tested on multiple devices.
It does not sadly, 404 for any url I try to access.
Does other rewrite stuff work ok, for eg www. rewrite or https rewrite?
Yes but those rewrites are managed by my vhost.
In that case try contacting your host and tell them you are having problems with rewrites.
I was having issues with the 3.3 htaccess and I used the old .htaccess file from 2.2 worked perfect for me! Try using this htaccess file and see if it works. BACK UP YOUR OLD ONE FIRST!!
It's a VPS that I host myself.
Sadly no change in behavior.
what does the 404 look like, is it a custom one from Vanilla or a generic on from Apache? If its from Apache then can you check if mod_rewrite is loaded
I was having issues and did some testing with this script from this page
basically you make a PHP file and then hit a random UR and it should rewrite to your custom PHP page Its very simple to test with just have to upload one file and put up a htaccess file. That way you know rewrites are working
Thanks it was apache however I have found the issue, and it's solution within this thread: https://open.vanillaforums.com/discussion/26117/friendly-urls-broken-at-apache-level-i-think-but-i-cant-find-the-problem
I had to allow overrides within a vhost.
Thanks all for your help!
That would do it!! Glad you got it sorted out!