Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
htaccess syntax question
Old 02-25-2007, 12:43 PM htaccess syntax question
Average Talker

Posts: 15
Trades: 0
Hello, I am trying to do a url rewrite for the URL:
http://www.lakeeffekt.com/launch/ind...board&Itemid=6

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

I have so far:
Code:
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.
insidedesign is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-25-2007, 03:29 PM Re: htaccess syntax question
Skilled Talker

Posts: 57
Trades: 0
Quote:
I have so far:
Code:
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.
Is the Apache Mod-Rewrite module enabled? If so, try putting your code on two lines. i.e.
Code:
RewriteEngine on 
RewriteRule ^index\.php?option=com_simpleboard&Itemid=6$ /forum/index.php [R=301,L]
GrandpaD is offline
Reply With Quote
View Public Profile
 
Old 02-25-2007, 07:24 PM Re: htaccess syntax question
Average Talker

Posts: 15
Trades: 0
It is definitally enabled. I tried your suggestion and it still has no effect... =/
insidedesign is offline
Reply With Quote
View Public Profile
 
Old 02-25-2007, 07:45 PM Re: htaccess syntax question
Skilled Talker

Posts: 57
Trades: 0
I admit I'm no expert on this. (I hope one shows up here. )

But that forward slash after the first instance of the word index seems out of place. I'll assume the .htaccess file is in the launch subdirectory so I'd drop the slash in front of the target URL.
GrandpaD is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to htaccess syntax question
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13987 seconds with 12 queries