homepage Welcome to WebmasterWorld Guest from
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 from dynamic URL to static URL
redirect to a new domain

5+ Year Member

Msg#: 5710 posted 6:39 am on Mar 5, 2006 (gmt 0)

I am trying to redirect url from a old domain to a new domain, like:

I put in the .htaccess the line:
redirect 301 /modules.php?name=News&file=article&sid=990 [domain.com...]

but nothing happens. I appreciate any comment.

Im trying to do something like this guy:
but nobody help him.



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

Msg#: 5710 posted 4:15 pm on Mar 6, 2006 (gmt 0)


Welcome to WebmasterWorld!

The usual approach is to change the links on your pages to output the static URLs, and then use mod_rewrite to change those URLs, when requested from your server, back into the form needed to invoke your script(s).

See [webmasterworld.com...] for more information.


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