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.
How to remove this?
Jamesbro
New
Hello, Sir/Madame, i got trouble want to remove index.php i watched every single previous discussion how to remove php.index? I trying but still not working need help thanks. Version 2.2.1
0
Comments
See this discussion
+rbrahmson still not working
Do you know what your server is?
If you don't I suggest you ask your host and then post what web server you use!
aside from the mandatory config statement for rewriting urls
in conf/config.php change or add this line to:
$Configuration['Garden']['RewriteUrls'] = true;
your web server must be capable of rewriting urls.
once you provide your web server type, you can get better help.
ask your host to allow your server to rewrite urls, and if you are using Apache or something compatible that recognizes .htaccess, you must be able to override things via .htaccess.
if your server does not recognize .htaccess (e.g. IIS, Nginx) you need to create your own file that vanilla does not provide to rewrite the urls for vanilla, provided your server is set allow rewrites.
the readme which NO ONE apparently reads.
https://github.com/vanilla/vanilla/blob/master/README.md says:
if your server is apache the readme does not tell you, but you must configure the .htaccess properly.
if you use apache ....
https://vanillaforums.org/discussion/comment/220157/#Comment_220157
apache type forks may not be totally compatible.
Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.
finally worked, thank you. i added this line to:$Configuration['Garden']['RewriteUrls'] = true;
Which is exactly what was suggested in the link I suggested in my original response...
Glad your issue is resolved.
Sometimes people need step by step instructions and are not good with research or problem solving….Sometimes even that does not help….
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
All that was needed was to open that discussion by clicking on the link I provided...
IMHO placing the same answer in multiple discussions makes it harder to search the forum and find the best solution because inevitably every answer is a bit different and may lead to confusion. Not to mention that people use different titles on these discussion, oftentimes unclear titles (would anyone searching the forum and seeing the title "How to remove this?" know what this is about?)
So for these reasons I am think that if there is a clear and good solution in another discussion, it should be provided as the linked answer.
I do see your point - everyone is different and have their own habits and opinions. Always good to hear yours.
you have to be cognizant that the op was not a native english speaker.
And you probably don't know what their web server is or was. It was NOT Apache but close enough.
https://w3techs.com/technologies/overview/web_server/all
Yes, adding the config statement allows vanilla to use pretty urls, it does not mean everything in the user setup is correct. and is not always the successful solution.
this is why I provided answer it provides them with more info about other beginner questions.
https://vanillaforums.org/discussion/comment/220157/#Comment_220157
and this
https://vanillaforums.org/discussion/comment/243043/#Comment_243043
I also suggest a moderator at least change the category to 2.2 and possibly give this discussion a better title or appending - Using Pretty Urls - Resolved.
Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.