wheres me jumpa
New Member
I am trying to redirect from a subdomain to a file using .htaccess. Its working but I dont want the redirect visible, i.e. I want the sub domain to remain as the url. i.e.:
User types casino.waffle.ie
Redirected to waffle.ie/casino.php
casino.waffle.ie remains in URL
Any help appreciated.
Heres the code that is currently visibly redirecting:
User types casino.waffle.ie
Redirected to waffle.ie/casino.php
casino.waffle.ie remains in URL
Any help appreciated.
Heres the code that is currently visibly redirecting:
Code:
RewriteCond %{HTTP_HOST} ^casino.waffle.ie$ [OR]
RewriteCond %{HTTP_HOST} ^www.casino.waffle.ie$
RewriteRule ^(.*)$ http://www.waffle.ie/casino.php [R=301,L]