Hi all,

Pardon me if this is the wrong list for the issue I have.

I have a .htaccess file containing the following lines:

AddType text/x-component .htc
RewriteEngine On
RewriteBase /

RewriteCond %{QUERY_STRING} .
RewriteRule ^(.*)\.php(.*)$ http://www.mydomain/forum/? [R=301,L]
RewriteRule ^forum/(.*)$ /forum/$1 [R=301,L]
RewriteRule ^blog/(.*)$ /blog/$1 [R=301,L]

I then have the following URLs:

 ·         
http://www.mydomain/forum/calendar.php?c=1&week=1301788800<http://www.thepokerfarm.com/forum/calendar.php?c=1&week=1301788800>

·         
http://www.mydomain/forum/strategy-and-coaching/coaching-analysis/<http://www.thepokerfarm.com/forum/strategy-and-coaching/hand-analysis/>

·         
http://www.mydomain/blog/joining-coaching-sessions/<http://www.thepokerfarm.com/blog/joining-farm-warrington/>

The first two URLs are 301 redirected as expected, but the last one is not.
What could I be getting wrong here?
-- 
Regards,
Sithembewena Lloyd Dube

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to