Good morning,
I'm using the following .htaccess code to add a www to the url of my forum webpages:
This works flawlessly EXCEPT when there is no trailing slash on the url. For example:HTML Code:RewriteCond %{HTTP_HOST} !^www\.diabetesdaily\.com RewriteRule (.*) http://www.diabetesdaily.com/forum/$1 [R=301,L]
http://diabetesdaily.com/forum
In this case, it appends the home directory on my server to the url like this:
http://www.diabetesdaily.com/forum//...lic_html/forum
Any ideas on how to fix this?


LinkBack URL
About LinkBacks





Reply With Quote
