Jump to content


Photo

Problems redirect domain without www to www.domain.com


  • Please log in to reply
No replies to this topic

#1 wakeup

wakeup
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 13 March 2006 - 03:30 PM

In my hosting I have a .htacces in www root for redirect all pages from domain.com/page.html to www.domain.com/page.html

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.hhdirecto\.net [NC]
RewriteRule ^(.*) http://www.hhdirecto.net/$1 [L,R=301]

It run ok, in folders too. But in subfolders with another .htaccess file it don't run.
I have tried to copy the same in the .htaccess in folder but it not run.
How can I solve it?
Thankss


_______________________
[a href=\"http://www.hhdirecto.net\" target=\"_blank\"]Hip Hop Directo[/a]




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users