thanks, I've removed the redirects. I appreciate the advice!
- Home
- rriot
Latest posts made by rriot
-
RE: Redirecting thin content city pages to the state page, 404s or 301s?
-
Redirecting thin content city pages to the state page, 404s or 301s?
I have a large number of thin content city-level pages (possibly 20,000+) that I recently removed from a site. Currently, I have it set up to send a 404 header when any of these removed city-level pages are accessed. But I'm not sending the visitor (or search engine) to a site-wide 404 page. Instead, I'm using PHP to redirect the visitor to the corresponding state-level page for that removed city-level page.
Something like:
if (this city page should be removed) {
header("HTTP/1.0 404 Not Found");
header("Location:http://example.com/state-level-page")
exit();
}Is it problematic to send a 404 header and still redirect to a category-level page like this? By doing this, I'm sending any visitors to removed pages to the next most relevant page. Does it make more sense to 301 all the removed city-level pages to the state-level page?
Also, these removed city-level pages collectively have very little to none inbound links from other sites. I suspect that any inbound links to these removed pages are from low quality scraper-type sites anyway.
Thanks in advance!
Best posts made by rriot
-
Redirecting thin content city pages to the state page, 404s or 301s?
I have a large number of thin content city-level pages (possibly 20,000+) that I recently removed from a site. Currently, I have it set up to send a 404 header when any of these removed city-level pages are accessed. But I'm not sending the visitor (or search engine) to a site-wide 404 page. Instead, I'm using PHP to redirect the visitor to the corresponding state-level page for that removed city-level page.
Something like:
if (this city page should be removed) {
header("HTTP/1.0 404 Not Found");
header("Location:http://example.com/state-level-page")
exit();
}Is it problematic to send a 404 header and still redirect to a category-level page like this? By doing this, I'm sending any visitors to removed pages to the next most relevant page. Does it make more sense to 301 all the removed city-level pages to the state-level page?
Also, these removed city-level pages collectively have very little to none inbound links from other sites. I suspect that any inbound links to these removed pages are from low quality scraper-type sites anyway.
Thanks in advance!
Looks like your connection to Moz was lost, please wait while we try to reconnect.