I'm familiar with the .htaccess file and the code used to redirect traffic from no www. to www. but I can't seem to make it work for .jsp pages! The site I'm working on is this one http://lendacheck.com/index.jsp but I need it to be http://www.lendacheck.com/index.jsp The code I tried but does not work is: RewriteRule ^index\.php http://www.cashflow420.com [R=301,L] Is there another way to make this work? Thanks in advance for any help!
Try this code in .htaccess. It should be working. RewriteEngine On RewriteCond %{HTTP_HOST} !^(.*)\.lendacheck\.com$ [NC] RewriteRule ^(.*)$ http://www.lendacheck.com/$1 [R=301,L]
Thanks for your help anyways jeffreyhuan! Turns out that the site is running Tomcat and there is no .htaccess support!?! What do I do now?