The below are all my .htaccess entry:
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.acethehimalaya\.com$ [NC]
RewriteRule (.*) http://www.acethehimalaya.com/$1 [R=301,L]
redirect 301 /brochure_request.php http://www.acethehimalaya.com/request-brochures.html
redirect 301 /testimonials.php http://www.acethehimalaya.com/testimonials.html
RewriteCond %{THE_REQUEST} ^.*/index.php
RewriteRule ^(.*)index.php$ http://www.acethehimalaya.com/$1 [R=301,L]
But the last entry for redirecting:
http://www.acethehimalaya.com/tripdetails.php?trip_id=8
to
http://www.acethehimalaya.com/destinations/nepal/nepal-trekking/everest-base-camp-budget-trek.html
is not working. The code i have used is below:
RewriteCond %{REQUEST_URI} ^/tripdetails.php$
RewriteCond %{QUERY_STRING} ^trip_id=8$
RewriteRule ^(.*)$ http://www.acethehimalaya.com/destinations/nepal/nepal-trekking/everest-base-camp-budget-trek.html [R=301,L]
Its been like days and i m struck so can anybody figure this out.
Location:
HTTP response header is blank?!