Forum Moderators: phranque

Message Too Old, No Replies

Riderects to a blank page error

         

jphilip

7:05 pm on Jan 7, 2010 (gmt 0)

10+ Year Member



Basically I want to check the subdomain and then do an internal redirect to a link

Here is htaccess code

RewriteCond %{HTTP_HOST} ^(xyz\.)abc.com
RewriteRule ^date index.php?option=com_dating&Itemid=456&cat_id=5370&lang=en&task=showtopDates [L]

and if I type "xyz.abc.com/date" it works perfectly fine
BUT i want to remove this date from the url and keep only "xyz.abc.com"

So i tried
RewriteCond %{HTTP_HOST} ^(xyz\.)abc.com
RewriteRule ^(.*)$ index.php?option=com_dating&Itemid=456&cat_id=5370&lang=en&task=showtopDates [L]

But it shows a blank page ..no 500internal server error just a blank page

What should I do ?

jdMorgan

8:32 pm on Jan 7, 2010 (gmt 0)