Page 1 of 1

How to check if mod_rewrite is enabled on your server

Posted: Sat Nov 04, 2006 10:23 am
by leolam
Many problems with SEO arise from the fact that a host has not enabled mod_rewrite (Apache setting) on the servers. They often tell they have (while they don't have) and you can verify if this is correct or not and if this is causing you Error 500 etc.

Here is how to check if mod-rewrite is realy enabled!

..Enable SEO in your administrator! (administrator> SEO > enable > save)

..Rename your htaccess.txt to .htaccess !!

Next place ONLY the following lines in your .htaccess:

Code: Select all

Options +FollowSymLinks
Redirect /joomla.html http://www.joomla.org


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

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

note: if your site is located in subdomain example "test" you need to insert in .htaccess as:

Code: Select all

Options +FollowSymLinks
Redirect /test/joomla.html http://www.joomla.org

note: replace the http://www.mysite.com with your own domain in your browser!

cheers
Leo

note: originally posted by Kenmcd on open-sef forum and modified/enhanced for general use

Re: How to check if mod_rewrite is enabled on your server

Posted: Tue May 01, 2007 6:02 pm
by renegadeandy
hey! well - good news it forwards me to joomla.org

so what next!?