[thelist] redirect 301 urls with spaces or %20 in them

Kasimir K evolt at kasimir-k.fi
Fri Mar 11 10:04:35 CST 2005

Rich Points scribeva in 2005-03-11 03:25:
> I'm doing some 301 redirects for some urls that have %20 in them, here 
> is an example
> http://clubsauce.com/product_pages/Product_Demi_Jus%20de%20Poulet%20Lie%20Gold%20.htm 

http://httpd.apache.org/docs-2.0/mod/mod_alias.html#redirect tells us:
"Syntax:	Redirect [status] URL-path URL"
"URL-path a (%-decoded) path; any requests for documents beginning with 
this path will be returned a redirect error to a new (%-encoded) URL 
beginning with URL."

so just drop the quotation marks (") like this:

redirect 301


More information about the thelist mailing list