Menu

#11 symlink directories cause 301 redirects

open
nobody
None
5
2008-02-27
2008-02-27
Anonymous
No

If sitemap_gen.py runs across a symlink directory is treats it as a file. The <loc> ends up looking like http://example.com/symlink instead of http://example.com/symlink/ The symlinks are not traversed and google gives warnings about 'URLs not followed' because apache returns a 301 redirect adding the final /

Adding each symlinked directory into its own <directory subsection in the xml config file is a work around.

Discussion


Log in to post a comment.