APACHE: How can I check if mod_rewrite is enabled?
| Author(s): | | Experience level: | - |
Contributors: | | Joomla! version: |  | Date added: | Monday, 16 July 2007 | Date last changed: | Tuesday, 30 November 1999 | | |
Many problems with search engine optimization (SEO) arise from the fact that a host has not enabled
mod_rewrite on the server.
-
Enable SEO in your administrator! (administrator > SEO > Enable > Save)
- Rename your htaccess.txt to .htaccess, or use your existing .htaccess file.
- Place ONLY the following lines in your .htaccess file.
Options +FollowSymLinks
Redirect /joomla.html http://www.joomla.org
- Point your browser to: http://www.mysite.com/joomla.html
(Replace 'mysite.com' with your site's actual URL.)
- If you are redirected to www.joomla.org, mod_rewrite is working. If you get an error, mod_rewrite is not working.
- Note: if your site is located in a sub-domain, for example "test" you need to modify .htaccess as follows:
Options +FollowSymLinks
Redirect /test/joomla.html http://www.joomla.org
Last Updated Tuesday, 30 November 1999