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
.htaccess conditional 410 with special characters
Our website was recently hacked with spam content, and going through the cleanup process I'd like to create 410 rewrites for them.
The URLs in question are top level, so can't specify by directory, but the bulk of the bad URLs include == at the end.…

r.dusty
- 1
0
votes
2 answers
How can I check the 410 status of an iframe?
I'm building a page that uses the Slideshare API to pull a limited set of presentations from a specific Slideshare user and output a series of iframes with those presentations embedded.
For the most part the page is working as intended, however one…

Moss
- 71
- 8
0
votes
1 answer
Twitch title change via api
I have a little chat bot for twitch and I want to make now a function where you can change the stream title.
My function looks at the moment so:
public changeTitle = (new_title: string, callback: any): void => {
let t = this;
let request =…
user7975901
0
votes
1 answer
Return 410 Error Based on Part of Query String in ASP.NET MVC
Looking for a method we can use in our ASP.NET MVC-5 IIS-8 site to return a 410 error response (gone) based on a list of phrases contained in the querystrings.
Why? We're receiving a few hundred daily junk hits from reputable bots (e.g., Google,…

mark d
- 126
- 2
- 7
0
votes
1 answer
The remote server returned an error: (410) Gone in C#
I have a web API2 application which is consumed by a third party application. When the application hits my end-point, my application send oAuth credentials for authentication and gets the results from the third party application.
Recently some of…

Yoda
- 319
- 2
- 5
- 20
0
votes
1 answer
Load a the page itself when 410 error is send intentionally for SEO purposes
I have got a website with lots of products which can be bought by clients.
I have implemented an adding to cart button which adds the product to a Session variable after clicking on it. A part from this, there is a cart icon on the header of the…

danibg
- 214
- 1
- 15
0
votes
3 answers
error 301 versus 410 when page deleted
before when I deleted a page, I was them redirected (301) this page to the category page, but in google webmastertool, it said that I had too many "soft 404"
so recently I changed this and send a 410 error and display some links to similar page, but…

user2016483
- 583
- 1
- 5
- 13
0
votes
1 answer
Set 410 status in unique scenarios
I have discovered some of my dev sites have been indexed by Google. Somehow the robots.txt was removed. How can I tweak my .htaccess to give a 410 status if the visitor is the google spider bot OR the visit is a referral from google?

Robert E
- 700
- 3
- 16
- 29
0
votes
2 answers
Uploading image file from website on yahoo server causes 410 gone error message when trying to access it
I have a form that lets users upload a photo of themselves. This seems to work. The photo does exist on the server once uploaded. When I try to access the file I get a "403 forbidden - you don't have permission to access this url on this sever" and…

JamesTBennett
- 2,091
- 6
- 19
- 22
0
votes
0 answers
How to match file name with a space in it in .htaccessfile
I have a file in my server named "Project orgstr2.pdf". I have to throw 410 response code for it. To do this I wrote following rewrite rule
RewriteRule Project\s*orgstr2.pdf - [G,NC]
But the issue is that the regex is not matching the filename.…

Tejaswi Sharma
- 148
- 1
- 9
0
votes
1 answer
Freebase MQLWrite Login Fail 401 Gone
I am trying to write to freebase. I read this documentation:
documentation
and tried login to both
https://api.freebase.com/api/account/login
but am getting (410) Gone error.
can someone help me please?

user2051871
- 27
- 6
0
votes
1 answer
Declaring 404 status from middle of page code?
Google's Webmaster Tools is hammering on me to send out proper 404 signals instead of "soft 404s". I found the page generating the errors. I have a website where users create images and the errors appear when Google tries to access images that no…

ola.rogula
- 307
- 1
- 9
0
votes
0 answers
410 Gone - Images are on right directory
On my site some of my products picture are not shown.
When i right click to inspect element and click my pictures url there is written
410 GONE
When i refresh the site image is shown.
I have lots of products so pictures too on my site and thats a…

JavaCandir
- 7
- 3
0
votes
1 answer
Updating crawlers information about change on directory structure
On our old site we had some directories that have since been deprecated. I'm worried about an influx of 404s hurting our rankings.
For example what was once www.mysite.com/intranet/ no longer exists on our server, but google is (I'm guessing)…

psorensen
- 809
- 4
- 17
- 33
0
votes
1 answer
How can a URL be left as is but still render an error view?
I'm creating a Controller and View for "Gone" requests (410 code) and the way I've done this is adding the customError status code 410 to my Web.config.
This properly handles the exception and renders the view, but the response URL is…

valin077
- 885
- 1
- 8
- 17