Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch Topic

Question:Iifr.ini Rewritecond

For the past 4 weeks (yes you read right, 4 weeks) I 've been trying to redirect my website to a new domain.

Here's what I want to do:

Redirect the ROOT of my website from ukmotorhomehirerental to

Without redirecting all the subfolders. ie. if I click on a link in google to one of our minor pages, I want to land on that page on the new domain without being redirected to the index page. It worth mentioning that I do want to also redirect the minor pages on a page to page basis.

I'm doing it like this (this works perfect)...

RedirectRule ^/pages/contentPage.asp\?QN=94 [I,R=301]
However this This is were the problem lies...

RedirectRule ^/ [I,R=301]
I know the above implies to the browser that all traffic requesting ukmotorhomehirerental will be forwarded to leisurerentalsdirect

I think I need some sought of condition applying, but I just cannot understand how to do this, can anybody help?

asked Sep 13, 2013 in htaccess by rajesh
edited Sep 12, 2013
0 votes

Related Hot Questions

Government Jobs Opening