Hi! How can i reditect example :
sdasada.example.com and asdasda.example.com/asdasda
THis is my current .htaccess :
RewriteEngine on
RewriteCond %{HTTP_HOST} !^example.com
RewriteRule ^(.*)$ http://example.com/$1 [R=301]
It can only redirect for the subdomain (subdomain.example.com) but not for the (example.com/adasad) , which i would also like to force it redirect to other site. Is there any way that i can do? Thanks
sdasada.example.com and asdasda.example.com/asdasda
THis is my current .htaccess :
RewriteEngine on
RewriteCond %{HTTP_HOST} !^example.com
RewriteRule ^(.*)$ http://example.com/$1 [R=301]
It can only redirect for the subdomain (subdomain.example.com) but not for the (example.com/adasad) , which i would also like to force it redirect to other site. Is there any way that i can do? Thanks







