htaccess syntax question

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)

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.