removing forward slash in .htaccess
- by user1083644
I am using Jobbersbase for my online job portal. In which i have given link to my main webpage page like this http://www.mydomain.com/aboutus.html, but its not working because the link is taking '/' at the end http://www.mydomain.com/aboutus.html/
I tried adding RewriteCond %{REQUEST_FILENAME}\.html -f in .htaccess , if i add that other links doesnt work which has / for example http://www.mydomain.com/jobs/
Now my .htaccess looks like this
# AddType x-mapp-php5 .php
# AddHandler x-mapp-php5 .php
RewriteEngine On
RewriteCond %{REQUEST_URI} .*/$
RewriteRule (.*)/$ $1
ErrorDocument 404 /page-unavailable/
<files ~ "\.tpl$">
order deny,allow
allow from none
deny from all
</files>
Someone please suggest me how to do it
thanks