Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Redirect dynamic url to homepage

Question about .htaccess



11:55 am on May 7, 2008 (gmt 0)

5+ Year Member

Im hoping someone can help me out here...

Ive got some dynamic urls that are now redundant and I want to redirect them to our homepage. However if i just use a straightforward 301 redirect in .htaccess the query string is appended to the homepage.

Does anyone know how to get rid of the query string so the redirect goes to the static homepage?

So the dynamic urls look like this:


And I want them to be all redirected to


Thanks for any help in advance...Dave


12:34 am on May 8, 2008 (gmt 0)

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

Use Apache mod_rewrite, and put a "?" at the end of the substitution URL.



Featured Threads

Hot Threads This Week

Hot Threads This Month