¿Cuál es la mejor manera de redirigir el sitio web a una subcarpeta (compatible con SEO)?

I have a site with content in multiple languages. The pages are structured like this:


On the root folder, I have an ASP file that redirects to /en/ by default. It's using this statement:


Is this good SEO practice? Or should I use a 301 redirect?

preguntado el 26 de noviembre de 13 a las 23:11

Search engines can't read server side code so I wouldn't have thought how you get to your desired URL matters. Are you using IIS7? If you are then you can use the URL rewrite module, it might be easier than lots of Response.Redirect statements -

Response.Redirect generates a HTTP redirect in the client, so it absolutely matters. Please see my answer below. -

1 Respuestas

Creo que Response.Redirect in ASP classic generates HTTP status code 302. The situation you describe certainly seems to fit 301 más del 302. La 302 is useful in situations where a redirect is conditional - for example redirecting after a successful form post. In these cases the redirect is just a one off and not permanent. For you, using 301 means that your redirect will be cacheable, 'link juice' is transferred correctly, and these will likely both confer SEO advantages for you.

Some links you may find useful, especially the final one:



ASP.NET Response.Redirect usa 302 en lugar de 301 (This is an ASP.NET topic, but I believe classic generates the same code for a redirect and much of the discussion still applies)


contestado el 23 de mayo de 17 a las 13:05

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.