Hi there,

I've been struggling ever since I moved to drupal to get my old links 301 redirected. Yesterday I was able to get the redirects working perfectly, but there were unintended consequences of which I could not solve, namely that the web site stopped seeing my style sheets (so pages were unstyled, both in the site and in admin), links to PDFs no longer worked (they gave 404s) and even the expand/contract sections in admin were now all expanded (which seemed really odd - and the links were not there anymore).

Been looking through mod_rewrite stuff but I cannot figure out how to solve this, so I had to again remove the redirects, which is killing me because I am getting a ton of 404s.

I've posted the .htaccess I was using here:

http://www.crossandthrone.com/ht.txt

Can anyone suggest a change I could make so it will not affect my CSS, PDFs and admin section? I've hit a dead end.

Thanks

Comments

apsivam’s picture

Instead of messing with the .htaccess file, why don't you try Path Redirect module and redirect your users to new clean Drupal url. If you apply a patch I submitted to the project you can also alert your users about the url change.

--
Cheers,
Sivanandhan, P. (a.k.a. apsivam)

tdellaringa’s picture

That looks like an excellent tool - thank you for pointing this out apsivam! I will try it.

Tom

tdellaringa’s picture

That works really well - highly recommended except for one thing - entering them one by one...ugh. I have a lot, a way to do multiple entries would be great. I'll suggest that on the module page.

apsivam’s picture

Check this page for my patch to Path Redirect module which alerts the user when URL redirection takes place
http://drupal.org/node/154925

--
Cheers,
Sivanandhan, P. (a.k.a. apsivam)