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.
problem with pretty urls
Hi guys,
I ran into a weird problem over here. After chaning $Configuration['Garden']['RewriteUrls'] = FALSE; to TRUE; value in the conf/config.php file, everything seems to be working nicely. All the urls are pretty etc.
However, whenever I try to do anything around editing any topic on the forum (simple edit, delete,so on) the forum comes up with the same error all the time "The requested URL /forum/vanilla/index.php was not found on this server."
Need to say that vanilla is installed in the domain/forum path
Many thanks for your help
Tagged:
0
Answers
Could it be htaccess rewrite, not sure.
There was an error rendering this rich post.
am I right that there should be a separate htaccess file in the forum folder or should I edit htacces file in the root of the website?
if it is the first instance, the code of the htaccess file looks like
Original
If you modify this file then change the above line to: # Modified
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 /forum
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
There should be a seperate .htacess file, I do believe, since they are folder-based.
I am not tooooo familar with apache and .htaccess, but I am pretty sure you just keep both.
There may be something in your root folder's .htaccess file messing this up, you should post that one too.
Btw, use the '
code
' tag to keep formatting for easier reading.Hi! Thank you for your reply. I would much appreciate a lot if you could help me on this subject.
Please find the code for the .htaccess file from the root. I do use rewrite modes for the nicer permalinks on my wordpress.