Cómo verificar si mod_rewrite está activo en tu servidor

This page is a translated version of the page How to check if mod rewrite is enabled on your server and the translation is 29% complete.

Other languages:
čeština • ‎English • ‎español • ‎Nederlands
Copyedit.png
This Article Needs Your Help

This article is tagged because it NEEDS UPDATING. You can help the Joomla! Documentation Wiki by contributing to it.
More pages that need help similar to this one are here. NOTE-If you feel the need is satistified, please remove this notice.

Reason: 'Update to version 3.x'


Muchos problemas de SEO aparecen cuando un servidor no tiene activo mod_rewrite (en Apache). Puedes verificar si esta configuración es correcta o no y si por este motivo estás teniendo errores HTTP 500.

A continuación el procedimiento para comprobar si mod_rewrite está activo:

1. Activa SEO en el administrador:

In Joomla 1.0: Site -> Global Configuration -> SEO: Search Engine Friendly URLs to Yes.

In Joomla 1.5: Site -> Global Configuration -> Site: Search Engine Friendly URLs to Yes, Use Apache mod_rewrite to Yes. (Setting Add suffix to URLs is optional).


2. Rename your htaccess.txt to .htaccess:

Next place ONLY the following lines in your .htaccess:

RewriteEngine On
Options +FollowSymLinks
RewriteRule ^joomla\.html http://www.joomla.org/? [R=301,L]


3. Now point your browser to: http://www.example.com/joomla.html

(Replace www.example.com with your own domain name in the URL above.)

If it redirects you to joomla.org then mod_rewrite is working. If it gives you an error then mod_rewrite is not working.

Note: if your site is located in a folder such as "/test/" you need to insert the code in the root .htaccess file as follows:

RewriteEngine On
Options +FollowSymLinks
RewriteRule ^test/joomla\.html http://www.joomla.org/? [R=301,L]
Advertisement