Currently when opening an URL like http://example.org/foo CoolURI automatically redirects to http://example.org/foo/. (Mind the trailing slash.)
This happens with the default behavior of the PHP header() function for the Location header which in turn uses the HTTP statuscode 302 unless overridden.
Given that URLs without trailing slash are always only redirected this has some impact on SEO where these URLs are kept in the search index for revisiting.
Thus I'd like to suggest to have all of these redirects use HTTP statuscode 301 instead.
Currently when opening an URL like
http://example.org/foo
CoolURI automatically redirects tohttp://example.org/foo/
. (Mind the trailing slash.)This happens with the default behavior of the PHP
header()
function for theLocation
header which in turn uses the HTTP statuscode 302 unless overridden.Given that URLs without trailing slash are always only redirected this has some impact on SEO where these URLs are kept in the search index for revisiting.
Thus I'd like to suggest to have all of these redirects use HTTP statuscode 301 instead.