moopyy
January 26, 2010, 2:00pm
1
Hello…
Here’s my htaccess:
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteOptions MaxRedirects=100
Redirect 301 /test.html http://www.fruition.co.il/lego_tree.php?actions=show&id=71&instance_id=10
Redirect 301 /lego_tree.php?actions=show&id=71&instance_id=99 http://www.fruition.co.il/lego_tree.php?actions=show&id=71&instance_id=10
Redirect 301 /lego_tree\\.php\\?actions=show&id=71&instance_id=98 http://www.fruition.co.il/lego_tree.php?actions=show&id=71&instance_id=10
1st redirect works well. Other two don’t work at all. Any ideas? Would appreciate any help.
Thanks!
dklynn
January 26, 2010, 9:30pm
2
moopyy,
I don’t believe that mod_alias (Redirect and its subs) allows you to read the query string. To do that, you probably need mod_rewrite (look at the tutorial linked in my signature).
Regards,
DK
moopyy
January 27, 2010, 7:29am
3
Thank you dklynn!
I was looking at your content and got even more confused. Can you please write down exactly what I need to do?
Thanks!
dklynn
January 27, 2010, 8:35am
4
moopyy,
Sorry, I do not do free coding - I consider that “care and feeding of ‘script kiddies.’” I prefer to “teach.”
Please reread the tutorial, make an attempt and I’ll explain how to improve your code to the point it works exactly as required.
Regards,
DK