Please help me, i am new in this stuff.
I have a little issue with rewrite rule, i test my website with this rule in xammp server and it work very good, meaning that i want to have my URL like this http://ridingwolf.com/en/transylvania-food-and-culture-guided-tour instead http://ridingwolf.com/en/transylvania-food-and-culture-guided-tour.html.
But after i upload files on a shared server that run LiteSpeed is not working and every time when i access this link http://ridingwolf.com/en/transylvania-food-and-culture-guided-tour redirects me to 404!
I don't know what to do!
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.html [NC,L]
RewriteRule ^([^/]+)/$ $1.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$
RewriteRule (.*)$ /$1/ [R=301,L]
Thank you in advance.