Welcome to WebmasterWorld Guest from 54.147.199.169

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Redirect 301 help needed

cant make it work

     
5:59 pm on Jan 22, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 2, 2005
posts:112
votes: 0


Hi

I am trying to redirect a page to another but it dont works.

Redirect 301 /modules.php?name=bluewidgets [widgets.tld...]

Thanks

9:24 pm on Jan 22, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
posts:25430
votes: 0


You'll likely need to use mod_rewrite instead of mod_alias to do this.

Use a RewriteCond to test %{QUERY_STRING} and then redirect the URL based on that.

For more information, see the documents cited in our forum charter [webmasterworld.com] and the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com].

Jim

10:52 pm on Jan 22, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 2, 2005
posts: 112
votes: 0


Thanks jdMorgan

Since my English or knowledge is not well, i dont understand anything from that links even i tried most of them i dont have success :(

Thank you for your time anyway

11:34 pm on Jan 22, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 15, 2003
posts:2408
votes: 5


See my old post:

How to catch a query string with Apache [webmasterworld.com]

:)