apache - I need .htaccess redirection to video.domain.com/date/id -
i need redirect;
http://video.domain.com/date/videoid to
http://www.domain.com/video/video.php?date=$date&videoid=$id thanks lot...
rewriteengine on rewritecond %{http_host} ^video\.domain\.com$ [nc] rewritecond %{request_filename} !-d rewritecond %{request_filename} !-f rewriterule ^([^/]+)/([^/]+)/?$ video/video.php?date=$1&videoid=$2 [l] do note above work if both domain.com , video.domain.com hosted on same server.
Comments
Post a Comment