Como crear una Redirección 301

Redirección 301 con ASP Clásico <%@ Language=VBScript %> <% Response.Status=”301 Moved Permanently” Response.AddHeader “Location”,”http://www.new-url.com/” %> Redirección 301 con ASP .NET <script runat=”server”> private void Page_Load(object sender, System.EventArgs e) { Response.Status = “301 Moved Permanently”; Response.AddHeader(“Location”,”http://www.new-url.com”); } </script> Redirección 301 con…

Seguridad para Apache mediante HTACCESS

Del mismo modo debes tener en cuenta que algunas de estas recomendaciones pueden disminuir el rendimiento de tu servidor dependiendo de tu configuración y de las especificaciones del sistema. Primero, cerciorate de tener instalado los últimos parches de seguridad No…

Duplicate content fix index.html vs / (slash only)

This similar to the www vs non-www version of your site work-around. As you might now you, by default you can access your site as http://www.domain.com/ and http://www.domain.com/index.html with some setups it can be index.php or index.asp or default.aps, etc.…

Change PHP variables using .htaccess

If you need to change the way your PHP is working you can do that using .htaccess. Please, note that not all PHP options can be changed using .htaccess. A list of options that can be changed using .htaccess file…

How to add Mime-Types using .htaccess

In case your web hosting account is not configured to server certain mime types with the proper content type. You can change this using .htaccess file. For example if you need to configure your server to display ASX files: AddType…

Change default directory page

Most probably you have been wondering how the Webserver decides which page from your site to use as a main/default page of your site. There is a directive named DirectoryIndex which takes care of this. On most web servers there…