Wells-it.com - Web Hosting

htaccess syntax question

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

They have: 1 posts

Joined: Feb 2007

Hello, I am trying to do a url rewrite for the URL:
http://www.lakeeffekt.com/launch/index.php?option=com_simpleboard&Itemid=6

to:
http://www.lakeeffekt.com/launch/forum/

I have so far:
RewriteEngine on RewriteRule ^index\.php?option=com_simpleboard&Itemid=6$ /forum/index.php [R=301,L]'

It does not seem to be working. Does anyone have suggestions? note: I cannot setup a regular redirect due to the nature of the site.

He has: 11 posts

Joined: Feb 2007

Give a try:

^index\.php\?option=com_simpleboard\&Itemid=6$ /forum/index.php [R=301,L]

It also depends on where you are placing this htacess file... If you place it within the "forum" directory it shoudl work, if you place it in the root directory it won't work due to that this rewrite is looking for the mod within the Forum folder. Smiling

ACJavascripts.com - Free Cut and Paste Javascripts
SimplyProgram.com - Personal Blog
CYWebmaster.com - Webmaster Forum (re-designing)