-1

I have bunch of URLs and im trying to check if these URLs are Valid(Errors like 404 etc).In such a scenario what URLs are considered as Valid?

Example Scenarios

  • The server responds with some HTTP 3XX Error(Moved Permanently/Temporary)
  • Redirect

Are these URLs considered Valid ? For example the URL http://www.acoss.fr Redirects to http://www.acoss.fr/home.html Is this URL Considered as 'Valid' ?

Another case http://www.cadastre.gouv.fr/ Responds with 301(Moved Permanently) to https://www.cadastre.gouv.fr/scpc/accueil.do

Is this URL Considered 'Valid'?

techno
  • 181
  • 1
  • 8

1 Answers1

0

There can be many definitions of "valid" here, so you should ask for clarification from the agency what they consider valid.

My own guideline for links is that every link on the site itself should lead directly to the destination without any intermediate 301 or 302 redirects, except for some login related URLs where one might use 302 redirect to navigate away from the login URL.

For external URLs I aim to have redirects in place so that no external link to your site points to a non-existing page.

Tero Kilkanen
  • 36,796
  • 3
  • 41
  • 63