Originally Posted by
RodG
Hmmm. The thot plickens... if this was from the root folder, there is nothing to perfom a redirect to the /new/ folder when the browser is pointed to
http://yourdomain/ so, what happens when you point the broweser to
http://yourdomain/new/ ?
Cheers
Rod
There is a huge mess of redirects I left out. They were added after the issue and are working correctly. Sorry for the confusion.
Tested without the posted code. No change
Here's all the redirects.
Code:
rewriteengine on
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^$ "http\:\/\/lightsforholidays\.com\/new" [R=301,L] #577cf767e0212
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^pub(.*)$ "http\:\/\/lightsforholidays\.com\/new\/pub$1" [R=301,L] #577cedc587589
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^extras(.*)$ "http\:\/\/lightsforholidays\.com\/new\/extras$1" [R=301,L] #577cec60140a7
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^logs(.*)$ "http\:\/\/lightsforholidays\.com\/new\/logs$1" [R=301,L] #577ced99b5c4e
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^index\.php(.*)$ "http\:\/\/lightsforholidays\.com\/new\/index\.php$1" [R=301,L] #577cee609adc0
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^robots_example\.txt(.*)$ "http\:\/\/lightsforholidays\.com\/new\/robots_example\.txt$1" [R=301,L] #577cef5c941d6
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^images(.*)$ "http\:\/\/lightsforholidays\.com\/new\/images$1" [R=301,L] #577cecaa832a7
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^editors(.*)$ "http\:\/\/lightsforholidays\.com\/new\/editors$1" [R=301,L] #577cec1f3fe21
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^page_not_found\.php(.*)$ "http\:\/\/lightsforholidays\.com\/new\/page_not_found\.php$1" [R=301,L] #577cef2f95c1e
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^media(.*)$ "http\:\/\/lightsforholidays\.com\/new\/media$1" [R=301,L] #577cedb21ba65
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^download(.*)$ "http\:\/\/lightsforholidays\.com\/new\/download$1" [R=301,L] #577cebf307356
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^mcs_learn_more\.html(.*)$ "http\:\/\/lightsforholidays\.com\/new\/mcs_main_handler\.html$1" [R=301,L] #577ceeed4a9b6
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^email(.*)$ "http\:\/\/lightsforholidays\.com\/new\/email$1" [R=301,L] #577cec38a948d
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^ipn_main_handler\.php(.*)$ "http\:\/\/lightsforholidays\.com\/new\/ipn_main_handler\.php$1" [R=301,L] #577ceeb9ee787
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^cache(.*)$ "http\:\/\/lightsforholidays\.com\/new\/cache$1" [R=301,L] #577ceb7b360bf
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^includes(.*)$ "http\:\/\/lightsforholidays\.com\/new\/includes$1" [R=301,L] #577cecd23ff12
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^vbv_learn_more\.html(.*)$ "http\:\/\/lightsforholidays\.com\/new\/vbv_learn_more\.html$1" [R=301,L] #577cef8c07e18
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^nddbc\.html(.*)$ "http\:\/\/lightsforholidays\.com\/new\/nddbc\.html$1" [R=301,L] #577cef0c20ce5
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^docs(.*)$ "http\:\/\/lightsforholidays\.com\/new\/docs$1" [R=301,L] #577ceba077986
rewritecond %{HTTP_HOST} ^www.lightsforholidays.com$ [OR]
rewritecond %{HTTP_HOST} ^lightsforholidays.com$
rewriterule ^adminurrhtcqq(.*)$ "http\:\/\/lightsforholidays\.com\/new\/adminurrhtcqq$1" [R=301,L] #577ceb42175ff
Bookmarks