Hi all,
It seems as though there are more issues at play here and in our efforts to be 404 free I've suggested that we also use the following rules. I was wondering what you thought about such redirects and whether big G would be effected?
Here's my notes, with URLs hidden..
I have added rules to the apache config to redirect these old urls to the new ZF version of the job detail page.
ie.
[
SITE.co.uk...]
now redirects to
[
SITE.co.uk...]
This brought to light a second issue, which is an issue of duplicate content. The url above is not the complete url, in fact. We can only configure apache to redirect to:
[
SITE.co.uk...]
When the proper url should be:
[
SITE.co.uk...]
In our current code, everything that comes after /job/1853622/ in the URL is ignored, so you could type:
[
SITE.co.uk...]
and this would resolve correctly like the other urls. Which means Google will see it as duplicate content.
I have patched the job_detail controller code to check the request uri to see if it matches what the urlmanager assumes it should be and, if it isn't, then it redirects to the proper final url. This will sort out any duplicate content issues we might have for the job detail pages.
In summary:
[
SITE.co.uk...]
redirects to
[
SITE.co.uk...]
which then also redirects to
[
SITE.co.uk...]