.htaccess RewriteRule 's

Moderator: mcsmom

Post Reply
felixkat
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Oct 28, 2007 2:07 pm

.htaccess RewriteRule 's

Post by felixkat » Sat Mar 22, 2008 11:57 pm

Hi all,

I could only find a couple of posts with this site mentioned in it. I thought it would be helpful to place this in Tips & Tricks.

The following is a fantastic site when it comes to doing rewrites in your .htaccess files. There are so many posts that's it's likely you would find an example of what you need.

http://forum.modrewrite.com/

I only had a simple rewrite to perform but there are some really complex ones on there.


I have http://www.adomain.com but installed Joomla in http://www.adomain.com/Joomla. I wanted however people to be able to go to http://www.adomain.com but see the contents of http://www.adomain/Joomla. I wanted also for this to be masked...

Example:-

Instead of people seeing

www.adomain.com/Joomla/Forums they would see www.adomain.com/Forums

I have this running with Search Engine Friendly URL's ON.

You do however need to mark your live site as var $live_site = 'http://www.adomain.com';

This also works on a populated site.

Hope this helps somebody.

Post Reply