Questions tagged [http-status-code-410]

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.

94 questions
1
vote
1 answer

Producing Error code 410 in Coldfusion

I have a dynamic website which generates the product pages dynamically from imported data. And after few days the product is expired. Now my question is that i want that the search engine recognize this and removes it from index. For that i want to…
user991047
  • 315
  • 4
  • 12
1
vote
2 answers

"The page you requested was removed" with 410 and redirect

I have following requirement: the user comes to a job page in our customer's website, but the job is already taken, so the page does not exist anymore the user should NOT get a 404 but a 410(Gone) and then be redirected to a job-overview-page where…
Tim Schmelter
  • 450,073
  • 74
  • 686
  • 939
1
vote
1 answer

htaccess - Set all EN pages to statuscode 410

I'm trying to set all EN pages of a website to the statuscode 410. The URLs look like…
TheKidsWantDjent
  • 1,179
  • 1
  • 9
  • 20
1
vote
0 answers

What causes Python Pytube to send me a HTTP ERROR 410 each time

I want to make a small python project and I am quite new with it. So I thought a youtube-downloader is a funny project to go by. So I looked at the documents about how to and installed everything accordingly. Now I am facing a strange 410 error. I…
1
vote
1 answer

NGINX return 410 for deleted CSS and JS files

I have a problem with a plugin I've deleted, apparently the cache on the users browser still send request for some JS and CSS files that are gone, the problem is that this is causing a lot of 404 errors in the logs (in 1 day I generated 4GB of error…
Dukanz
  • 25
  • 3
1
vote
1 answer

Return Https Status Code 410 Error for all Website Pages

I want to return 410 errors from my whole website pages so how to do this in just a few lines of code. I have used this syntax Redirect 410 [page-path] in .htaccess file but it is just to block one page what if I want for the whole website? In doing…
1
vote
0 answers

I need to create a 410 "gone"' for Wordpress Blog and modify htaccess file with the proper code on Cpanel

I created a WordPress page a while back and I entered the slug incorrectly so I modified it recently. There was just an extra number at the end of the URL that shouldn’t have been there and I just wanted it gone so I erased it. The original URL…
1
vote
0 answers

How can I avoid a Bad Request, for a URL, when it does not appear in the Source Code?

I have just used Google Developer Tools, to perform a site Audit. The Audit is suggesting to fix/remove Broken links to the following…
1
vote
1 answer

410 redirect working for index.html but not for index.php

I have the following folder structure: ~ $ ls -1a ./html/.htaccess ./html/brochure_en/ ./html/.htaccess ./html/brochure_en/: . .. index.html index.php The content of the .htaccess file is: ~ $ cat ./html/.htaccess Redirect 410…
duxsco
  • 331
  • 2
  • 17
1
vote
0 answers

LinkedIn 410 error code while authentication and Graph APIs

We have an app with LinkedIn and implemented server side authentication for generating tokens. Since 22nd march 2018, all our requests to LinkedIn API endpoints are failing. We could not either sing up new users or could share to users who are…
PrabhakarP
  • 187
  • 5
1
vote
0 answers

Google Webmaster showing 410 on pages removed 6 years ago

We redeveloped a site in 2012 that had been a simple HTML page catalog site. It became a dynamic, SOLR-driven site under the same domain name. The site content is updated daily (although not all products change daily) and there are now nearly…
Effdq
  • 11
  • 1
1
vote
1 answer

How to add status code 410 to drupal for deleted content to improve SEO?

We have a drupal based job board on which the jobs listings are updated via automatic imports every few days and some jobs are deleted in the process. google search console shows errors for the indexed pages that pages - because the URLs return 404…
1
vote
1 answer

htaccess redirect 410 for URL that contains com_virtuemart

In .htaccess how can I do a 410 redirection for all URLs with com_virtuemart. Anything like: index.php?page=shop.browse&option=com_virtuemart&search=GO&search_category=63&keyword1=43
Erick Boileau
  • 478
  • 4
  • 14
1
vote
1 answer

Nginx equivalent of Apache ErrorDocument 410

With Apache we've sometimes made use of the 410 GONE http status code to indicate that resources have gone away to crawlers etc alongside an html page for human visitors. We've either used something like: ErrorDocument 410…
Douglas
  • 11
  • 2
1
vote
1 answer

Redirecting a page to 410 when a more global redirect is taking precedence

We've got a couple redirects in place sending everything inside member.php (member profiles) to the forum home page: RewriteRule ^member.php/(.*)$ https://www.domain.com/interact/ [L,R=301,NC] RewriteRule ^member.php$…