Jump to content

Archived

This topic is now archived and is closed to further replies.

wakeup

Problems redirect domain without www to www.domain.com

Recommended Posts

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 On
RewriteBase /
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]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.