wakeup Posted March 13, 2006 Share Posted March 13, 2006 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[code]RewriteEngine OnRewriteBase /RewriteCond %{HTTP_HOST} !^www\.hhdirecto\.net [NC]RewriteRule ^(.*) http://www.hhdirecto.net/$1 [L,R=301][/code]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] Link to comment https://forums.phpfreaks.com/topic/4839-problems-redirect-domain-without-www-to-wwwdomaincom/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.