410 is a standard HTTP status code indicating that a requested resource is no longer available at the server and no forwarding address is known.
Questions tagged [http-status-code-410]
94 questions
0
votes
0 answers
410 Redirect and deindex issue of my wordpress site
I have deleted posts in bulk from my wordpress homepage. Now i want to tell search engine to deindex all the pages from the search results, how i can I do it with 410 redirect or any other way? can anyone help me please?
I have not find any method.
0
votes
1 answer
Need help for a regex : set-publicitaire-securite-enfant/objet-test/35687
I have to process a large set of 404, they must match with this type of url :
set-publicitaire-securite-enfant/objet-test/35687
Before the first slash you can find any type of character, including numbers. After the first slash the character string…

YunY
- 11
0
votes
1 answer
Different servers receive 200 and 410 status codes for the same URL
I am trying to access a website's API by Python's request library.
This is done from different servers (hosted by Hetzner). For some reason, one of the servers is getting 410 response status code, while the others work just fine (status code 200).
I…

SaharCo
- 71
- 6
0
votes
1 answer
410 redirect for all the subdirectories
Via htaccess have to give a 410 gone to all the subdirectories inside the mywebsite.com/tag/ folder. I have tried many codes but nothing…

SALVATORE
- 3
- 3
0
votes
2 answers
mod_rewrite help needed for 410 status code
I want to send 410 status code if there is any ? on the URL. Because the site is only works with SEO enabled URLs (Like www.domain.com/seo-enabled-urls).
With the StatckOverflow community support did this 301 redirection that works…

Elamurugan
- 3,204
- 13
- 59
- 104
0
votes
1 answer
Can I get Apache to alter Response Status Codes?
I have a load of services all using the same block of code and all incorrectly returning a 406 (Not acceptable) when what was really wanted was a 410 (Gone). The difference is not simply one of correctness, but has other implications upstream as…

Col Wilson
- 889
- 10
- 16
0
votes
0 answers
In drupal 8 how i can create 410 page status for my pages unpublished
For unpublished pages, the current behavior is a 404 error,
I wish to have an 410 error only for the pages which were previously published and subsequently unpublished.
Is it feasible ?
Thank you.

L.wadii
- 59
- 1
- 9
0
votes
0 answers
410 Gone error if I insert "shell_exec" or "$_SERVER" inside an HTML input form
I have this very simple web HTML form on my web hosting:
0
votes
0 answers
OPENCART: Blog module doesn't invite picture Why?
I have a Wordpress blog module installed on my Opencart 2.2.0.0 site. Links are working, but it does not show the thumbnail pictures related to the specific articles. GTmetrix shows 404/410 error. How can I solve 404/410 errors without turning off…

Jani
- 1
- 3
0
votes
1 answer
Strange 410 http gone using python urllib not reproductible in wget
I am using urllib in python3 to fetch some images from my server:
import urllib.request
import urllib.error
try:
resp = urllib.request.urlopen(url)
except urllib.error.HTTPError as err:
print("code " +…

MobileCushion
- 7,065
- 7
- 42
- 62
0
votes
1 answer
is it possible to send 2 http status codes for 404 error page and redirect to homepage
in .htaccess file, is it possible to send 410 status code for 404 error page and then immediately redirect to homepage?
for example, when search engine crawl a 404 page, server send 410 status code and then redirect to homepage.

Gul Noor
- 15
- 4
0
votes
1 answer
Redirecting 404 [Not Found] Error To Homepage And Before Redirecting To Home Page, Tell Search Engines 404 Page is Gone[410] Using .htaccess
I googled and searched on stack over flow but i not found my answer.
in Google webmaster Tools, My site have 58,842 Not Found[404] URL Errors. I want all 404 pages redirect to home page with 410 status code using the .htaccess file. I mean before…

Gul Noor
- 15
- 4
0
votes
1 answer
410 redirect url with dynamic GET parameters
Need make a redirect to 410 server response from this page - http://example.com/product_info.php?products_id=1
Tried many options, but they did not work, for example this:
RewriteCond %{QUERY_STRING} ^products_id=1$
RewriteRule ^.*$ - [G,NC]
For…

hopea114y
- 11
- 5
0
votes
1 answer
Difference in behaviour between HTTP Status code 410 and other codes w.r.t Angular 5
Backend: Java
Frontend: Angular 5
Consider this:
The frontend makes an HTTP request to the backend.
The backend returns an HTTP Status code as response to the frontend's request.
For error-handling testing, I change the HTTP code, returned from the…

rahs
- 1,759
- 2
- 15
- 31
0
votes
1 answer
Add status code 410 for missing images in Drupal 6
I need to send status 410 for missing images instead of 404, in Drupal 6.
For example I have a image link as https://www.example.com/our-locations/directory/sub-directory/files/xyz.png which no longer exist in this location, then I need to send…

TechValens
- 437
- 6
- 20