[thelist] htaccess quandry

Barry Woolgar barry at burnthebook.co.uk
Tue Jul 10 09:05:58 CDT 2007


Just above your redirects there is this line:

RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

Try commenting it out, as that QSA appends the query string. I don't know if
it performs a function for the rest of your site however so please test it


-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Tom Dell'Aringa
Sent: 10 July 2007 14:57
To: thelist
Subject: [thelist] htaccess quandry

Hey everyone,

I've been banging my head up against this .htaccess for months trying to
figure out these 301s for my drupal site. Each time I come back to it, I
fail. It can't be this hard, but I can't seem to get anything to work.

Here is my current htaccess:


I'm trying to redirect 2 of some 20-30 old paths at the bottom like so:

Redirect 301 /feed http://feeds.feedburner.com/CrossAndThrone
Redirect 301 /category/radio

The problem is when I enter the old string for category/radio I get this:


note the query string at the end? This still ends up giving a
404 of course. I think if I could get it to not do that, I could
correctly redirect all the bad links. I've tried the 301 in different
spots but it doesn't seem to matter. Why doesn't the site just follow
the directive I'm putting in?

Any help is appreciated!



* * Please support the community that supports you.  * *

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 

More information about the thelist mailing list