PDA

View Full Version : htacess help please


logicuk
29 May 2008, 20:34
RewriteEngine on RewriteCond %{HTTP_HOST} ^domain.com [NC] RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]


i added this to my htacess so when people type domain.com it takes them to http://www.domain.com but it dont work

hoping someone here can help me fix it thanks
Reply With Quote

Stickers
29 May 2008, 20:52
RewriteEngine On
RewriteCond %{HTTP_HOST} ^YourSite\.com [nc]
RewriteRule (.*) http://www.YourSite.com/$1 [R=301,L]

logicuk
31 May 2008, 18:42
where abouts would i put it in my file




Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

SEOvB
01 Jun 2008, 23:27
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

sR Craig
02 Jun 2008, 03:20
Try this... I bolded areas i changed...


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

logicuk
04 Jun 2008, 07:21
its not working, this is driving me crazy

Dismounted
04 Jun 2008, 08:32
Which one did you use?