...

View Full Version : htaccess session pass subdomain issue



twobyfour
07-10-2010, 03:27 AM
RewriteCond %{HTTP_HOST} ^domain\.com
RewriteRule (.*) http://www.domain.com/$1 [R=301,L]

I have this code which passes sessions to my subdomain. It works fine and doing its job but it doest allow my wordpress blog to display (Internet Explorer cannot display the webpage) and Firefox doesnt work either. The wordpress install is in a subdirectory on the server. Can this be resolved?

twobyfour
07-10-2010, 06:27 AM
i fixed itby adding another RewriteCond.



RewriteCond %{HTTP_HOST} ^domain\.com
RewriteCond %{HTTP_HOST} ^domain\blog\.com
RewriteRule (.*) http://www.domain.com/$1 [R=301,L]



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum