Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- 301 Redirect with Path Arguments to None


ccDan - 7:28 pm on May 31, 2008 (gmt 0)


I'm trying to get a site moved from one server to another, and I cannot get the 301 redirects working at all.

I need to go from this: www.domain.dom/blog-archive.php?page=20080531-road-trip

to this: www.www.domain.dom/2008/05/31/road-trip/

I've tried several methods (found in different Google searches) but they all result in a 404 page not found error. The destination page does show up fine if I enter the URL directly. And, to test that the redirect otherwise working, I tried a page (that doesn't exist) without any path arguments, and the redirection worked just fine:

Redirect 301 /test.php [domain.dom...]

This is what I've been (most recently) using to try to redirect the page with path arguments:

Redirect 301 /blog-archive.php?page=20080531-road-trip [domain.dom...]

I've tried escaping different characters to no avail.

Any ideas on how to get this to work?


Thread source:: http://www.webmasterworld.com/apache/3663794.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com