
The Importance of Internal Links and the Best Ways to Use Them
6 September، 2017
What Is Negative SEO, and How Does It Affect Your Website?
6 September، 2017
When you delete an article or page from your website, you remove a link—and possibly several links. The problem is that search engines may have already indexed it.
As a result, when the link appears in search results and a visitor clicks it, they’ll see that the page can’t be found, also known as a
404 error, which may affect your website’s search rankings In this article, we’ll explore ways to avoid these kinds of errors.
.
First solution: Redirect
The first solution is to redirect visitors to another page instead of the deleted page. Use this solution only when your site has a page with content similar to that of the deleted page, and the visitor who clicks the deleted link will benefit from the new page they are redirected to.
موقعك ذات محتوى مشابه لمحتوى الصفحة المحذوفة ، و الزائر الذي يضغط على الرابط المحذوف سيستفيد من الصفحة الجديدة التي تم إعادة توجيه
الزائر إليها ، لا تقم بإعادة توجيه الزائر إلى صفحة مختلفة عن الصفحة المحذوفة ، فهذا سيضر بموقعك ، إعادة التوجيه يجب أن تحدث فقط في حال
تشابه المحتوى بين الصفحة المحذوفة و الصفحة التي تم إعادة توجيه الزائر إليها .
When you find a page similar to the deleted page and choose to redirect, which type should you use? In this case, use a
301 (301 redirect). This type of redirect is called a temporary redirect. This tells Google to replace the old URL with the URL of the page that
تم إعادة توجيه الزائر إليها .
.
Second solution: Delete
What if you can’t find a suitable replacement for the deleted page? What if deleting the post is your only option? In that case, you can delete the post, but instead
of returning a 404 error, return a 410 error. These errors appear in the HTTP protocol header, and each one tells the browser what happened.
When a visitor clicks a link—for example, when you click a link in your browser—the request is sent to the server hosting
the link you clicked. When the request reaches the server, it tries to return the requested page but can’t find it, so it returns a 404 code. When
When this code reaches your browser, the browser recognizes from the code number that the page doesn’t exist and displays a page-not-found message.
But what’s the difference between a 404 error and a 410 error? A 404 error means “the page doesn’t exist,” while a 410 error means “the page has been deleted.” When
you use the 410 code, it’s like sending Google a message that says, “Dear Google, I’d like to let you know that the following page has been deleted. Please remove it from your index”
which speeds up the process of removing the URL from Google’s index. You should know that Google’s crawler still treats a 410 error as indicating that the page doesn’t exist, just like
a 404 error. However, using 410 is still better, and Google may change this in the future.
.
ما بعد الحذف
After you delete a page or article from your website, there can be what we call collateral damage from the deletion. For example, if you delete all the articles that contain
A particular tag has its own URL, just like any other page on your website. Even if you correctly delete all the posts using the 410 code,
the tag’s URL will still appear in search engines. When a visitor clicks it, they’ll get a 404 error indicating that the page
doesn’t exist. This means you also need to handle the URL for that tag and use the 410 status code.
This tag-related issue can occur even if you delete some posts rather than all of them. Consider this scenario: suppose you have a tag, and
that tag appears in 12 posts. These posts are displayed across two pages, with 10 posts per page. You delete 7 of the 12 posts,
leaving you with 5 posts. These five posts will appear on the first page, which means the URL for the second page no longer exists.
The visitor will receive a 404 error when clicking it in the search results, so this also needs to be addressed.
To sum up, the steps for deleting an article are outlined below. Don’t be afraid to delete an article; just handle it appropriately to ensure your site’s rankings aren’t affected
in the search results.





