Tag Info

New answers tagged

0

According to Google & in the context of SEO, In case of 404, the page is retained 24 hours before being considered as deleted. In case of 410, the page is considered as deleted right away. I guess for a big online shop it can make a difference for product pages that are gone. If the product are discontinued a 410 would be normal. In fact, it is possible ...


1

A 404 or 410 is fine for any page or URL that does not exist. You do not have to mix the two- you can chose just one. If the page is gone, then a 410 is certainly appropriate, however, a 404 is automatic (as well as traditional as a result) and fine too. Just know that Google, for example, will try for a number of times before delisting any URL from the ...


0

Using 404 error codes on the entire site is a terrible practice especially when search engines look at it because it gives them the idea that you're gonna fix missing pages yet your pages you plan to test aren't missing so it makes no sense to convert 200 statuses into 404 statuses. The way you should tackle the problem depends on the level of security you ...


0

From previous answers I understood that it is a bad practice. Thank you people. But if you need to do exactly what I was asking about: you need just to add to index.php such phrase to the top before any code: <?php header('HTTP/1.1 404 Not Found'); ?> So every page of the site will have 404 status but will stay alive


9

If this is a test site that shouldn't be indexed at all, there are a couple of steps you can take that tell search engines not to index your site more effectively than returning 404 headers. robots.txt Include a robots.txt at the site's root including: User-agent: * Disallow: / X-Robots-Tag Include the following to your .htaccess to add an X-Robots-Tag ...


11

This is an XY problem. You want to prevent indexing on your site and you know that 404s are not indexed, so you want to prevent indexing 'using' 404s. This is the wrong way to go. There are many proper ways to prevent indexing such as using robots.txt, meta tags or authentication.


0

A 404 code is generally good when pages are meant to be unavailable, but if you need to permanently have a page unavailable (aka gone for good), you need to use the 410 error code which means GONE. When google comes across pages with status 404, it will retry scanning the page later at some point because it means the page is not found. When google comes ...


0

Short answer. Having thin content will hurt you even with enough pages that are not thin. However, Google at least understands that this happens for some sites such as e-commerce and is a bit more forgiving generally. So just a few pages here and there will not hurt, however, it would be better that all pages that Google indexes should be quality or at least ...



Top 50 recent answers are included