homepage Welcome to WebmasterWorld Guest from 23.20.61.85
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Redirect 301 help needed
cant make it work
OldWolf

5+ Year Member



 
Msg#: 3227795 posted 5:59 pm on Jan 22, 2007 (gmt 0)

Hi

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

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

Thanks

 

jdMorgan

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



 
Msg#: 3227795 posted 9:24 pm on Jan 22, 2007 (gmt 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

OldWolf

5+ Year Member



 
Msg#: 3227795 posted 10:52 pm on Jan 22, 2007 (gmt 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

claus

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3227795 posted 11:34 pm on Jan 22, 2007 (gmt 0)

See my old post:

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

:)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved