You don't have access to this class

Keep learning! Join and start boosting your career

Aprovecha el precio especial y haz tu profesión a prueba de IA

Antes: $249

Currency
$209
Suscríbete

Termina en:

2 Días
21 Hrs
43 Min
3 Seg

Redirecciones HTTP y www

10/35
Resources

Why is it important to choose a canonical URL for a website?

When we create a website, Google automatically detects four possible versions of the same page based on combinations of HTTP, HTTPS, with and without WWW. This multiplicity can confuse search engines if they are not told which is the preferred or "canonical" version. Choosing a canonical URL is crucial because:

  • It facilitates the search engine's work by avoiding duplicity in the results.
  • It optimizes the site's SEO by ensuring that the correct content is indexed.
  • Improves the user experience by providing consistent and reliable access to content.

How to determine the preferred version of your URL?

Choosing a canonical URL is primarily a matter of personal preference. You can opt for a more visual URL design by choosing with WWW or without WWW:

  1. With WWW: Some prefer to include WWW for aesthetic reasons or user familiarity.
  2. Without WWW: Others opt for a cleaner and more direct URL without the WWW prefix.

The most important thing is to redirect the non-preferred versions to the chosen canonical URL so that search engines clearly know which one to index.

How to implement 301 redirects to secure the canonical URL?

Implementing 301 redirects helps ensure that alternate versions of the URL automatically redirect to the canonical URL. This is achieved using specific tools and techniques:

  • Verify redirects: Tools such as HTTP Status can confirm whether redirects are working correctly. You should check that HTTP and HTTPS variants with and without WWW redirect to your preferred URL.
  • Server configuration: If accessing one of the alternative versions results in a loading error, you may need to adjust your server configuration. This may involve asking a developer to correct the redirection problem.

What to do if there are redirection errors?

Common configuration errors can prevent a version of the URL from loading correctly. Here are recommendations for dealing with these issues:

  • Common errors: If a version of the URL does not load, it may be due to a server configuration error.
  • Actions needed: A developer should be asked to implement a 301 redirect from the problematic URL to the preferred URL.
  • Follow-up tasks: Note these issues in an audit file and assign them a resolution priority, usually medium, as these issues can negatively affect the user experience, but are not immediately critical.

Proper implementation of canonical URLs and 301 redirects is critical to an effective SEO strategy and to ensure that search engines present the proper version of your website. Remember to always be aware of these aspects when auditing your site or making changes to it. Keep learning and improving your skills to optimize your website's performance!

Contributions 20

Questions 16

Sort by:

Want to see more contributions, questions and answers from the community?

Decidir por cual protocolo quiero que cargue:

  • con www (http ó https)

  • sin www (http ó https)

La URL debe cambiar y redirigir a la opción seleccionada.

Para probar esto en el sitio web, copiar la URL y utilizar la herramienta: httpstatus

  1. Luego, pego la URL y agrego las cuatro opciones posibles (http, https, con www, sin www)
  2. Seleccionar la opción que rastree con el Robot de Google (Google/boot)
  3. Dar clic en check status.

Opciones Status codes:

  • 301 = redirección

  • 200 = OK

  • Error
    Si alguna de las 4 opciones saca ERROR, se debe reportar para hacer la implementación y que no marque error, sino que haga la redirección hacia nuestra página.

  • Este error, cuando no existe la redirección 301, se puede reparar con las URL canónicas.

Las respuestas de código de estado HTTP se agrupan en cinco clases:

  1. respuestas informativas
  1. respuestas exitosas: inician por** 2xx**
  1. redirecciones : inician por 3xx
  1. errores del cliente : inician con 4xx
  1. errores del servidor

1×× Informational
100 Continue
101 Switching Protocols
102 Processing
2×× Success
200 OK
201 Created
202 Accepted
203 Non-authoritative Information
204 No Content
205 Reset Content
206 Partial Content
207 Multi-Status
208 Already Reported
226 IM Used
3×× Redirection
300 Multiple Choices
301 Moved Permanently
302 Found
303 See Other
304 Not Modified
305 Use Proxy
307 Temporary Redirect
308 Permanent Redirect
4×× Client Error
400 Bad Request
401 Unauthorized
402 Payment Required
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Authentication Required
408 Request Timeout
409 Conflict
410 Gone
411 Length Required
412 Precondition Failed
413 Payload Too Large
414 Request-URI Too Long
415 Unsupported Media Type
416 Requested Range Not Satisfiable
417 Expectation Failed
418 I’m a teapot
421 Misdirected Request
422 Unprocessable Entity
423 Locked
424 Failed Dependency
426 Upgrade Required
428 Precondition Required
429 Too Many Requests
431 Request Header Fields Too Large
444 Connection Closed Without Response
451 Unavailable For Legal Reasons
499 Client Closed Request
5×× Server Error
500 Internal Server Error
501 Not Implemented
502 Bad Gateway
503 Service Unavailable
504 Gateway Timeout
505 HTTP Version Not Supported
506 Variant Also Negotiates
507 Insufficient Storage
508 Loop Detected
510 Not Extended
511 Network Authentication Required
599 Network Connect Timeout Error

https://httpstatuses.com/

Si quieren profundizar lo que vemos aquí se llama “http status code”.

Por fin pude entender bien lo de las redirecciones HTTP y www. Excelente

estuve haciendo todos los pasos de auditoria de mi sitio web y este cargan normalmente, cuando ingrese las 4 formas del URL HTTPstatusm me sale error en las 4 formas y ahora no carga en nimguna parte que hago? ayuda

Saludos compañeros
Una Pregunta. paso mi web por esta herramienta y me sale el siguiente mensaje.

  • Código de estado 415

¿que significa y como lo puedo arreglar?
Gracias

A alguien le sucedió que las URLs redirigen bien pero al hacerle check con este sitio les muestra error?

httpstatus ya no existe al parecer

Al dia de hoy, febrero, no vale esa herramienta 😦

Ami me sale esto, pero cuando voy a cualquiera de las urls, si me carga el sitio,¿es bueno?

Y cómo llegamos a corregir los que nos sale error y 301 y 302 y que significa 403 gracias

Redirección 301

En el contexto de SEO y redirecciones, el código de estado 200 indica que la página se carga correctamente y es la principal. Al tener múltiples URLs que devuelven un estado 200, es recomendable que solo una de ellas sea la que debe mostrarse como principal (status 200) y las demás deberían redirigir (status 301) a esa URL principal. Esto ayuda a evitar contenido duplicado y a consolidar la autoridad de la página en los resultados de búsqueda.

me marca error en todas pero si redireciona que sera?

Hola! en dos url me sale 302, es grave?

me sale el codigo de estado 403 que significa?

http://inmoelectro.com/ 301 403 1
https://inmoelectro.com/ 301 403 0
https://www.inmoelectro.com/ 403 0
http://www.inmoelectro.com/ Error 0
esta bien o que tengo que modificar?

Hola Alejandro, aquí el status code ideal para las otras versiones es la 301 cierto? Debemos evitar los 302
![](

No se consideran las URLs con “slash” al final?
Por ejemplo: <mi dominio .com>/

¿debo hacer esta misma revisión con cada una de las páginas de mi sito, o solamente con el home?🤔