Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trying to force www in URL
#4
Hey JDBar, after reading your problem, searching for a bit and then testing the results on my own website, this seems to work: (replace the code your recently added in .htaccess with the following)

RewriteEngine on

Options FollowSymlinks

rewritecond %{http_host} ^jdbar.co.cc [nc]

rewriterule ^(.*)$ http://www.jdbar.co.cc/$1 [r=301,nc]

Good luck.
Reply


Messages In This Thread
Trying to force www in URL - by JDBar - 02-28-2010, 03:28 PM
RE: Trying to force www in URL - by Slankey - 03-07-2010, 08:53 PM
RE: Trying to force www in URL - by ndee - 04-20-2010, 09:57 AM
RE: Trying to force www in URL - by JMK940 - 10-14-2010, 08:30 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how do I allow someone to access a DB via a URL? andrewjs18 8 1,984 09-08-2011, 12:42 PM
Last Post: bateyy

Forum Jump:


Users browsing this thread: 3 Guest(s)