Home arrow Forum
does not work when mambo SEF is on
  Welcome, Guest. Please login or register.
January 07, 2009, 04:12:31 PM
Home New Posts Search Calendar


Login with username, password and session length
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: does not work when mambo SEF is on « previous next »
Pages: [1] Go Down Print
Author Topic: does not work when mambo SEF is on  (Read 1939 times)
EliteRides
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
does not work when mambo SEF is on
« on: June 01, 2005, 12:12:13 PM »

I do not get links like:

http://www.domain.com/component/option,com_smf/Itemid,29/...

I get things like:

http://www.domain.com/smf/Item,29/...

These result in a 404.

I also noticed when I went to login here after registering I received an error prompt that I needed to fill in the password field when it already was.  I had the same thing happen when I tested my install.
Logged
PifGadget
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 20


View Profile
Re: does not work when mambo SEF is on
« Reply #1 on: June 02, 2005, 12:39:06 PM »

Hi EliteRides,

Try that:


On an Apache server
-------------------
1. Enable SEF in mambo configuration
2. do NOT rename the htaccess.txt
3. open /includes/sef.php and change this line: (~ line 242)
Code:
return $mosConfig_live_site."/".$string;
to
Code:
return $mosConfig_live_site."/index.php/".$string;




On an IIS server
----------------
For IIS or if you can't get the above working replace the line with:

Code:
return $mosConfig_live_site."/index.php?".$string;

There will remain a single ?, but it doesn't matter, such addresses are still indexed by search engines (One interrogation mark is tolerated).

It could also be needed to add this to your sef.php:

Code:
$_SERVER['REQUEST_URI'] = $_SERVER['QUERY_STRING'];

just above
if ($mosConfig_sef) {

(line 13 approximately)
Logged
Pages: [1] Go Up Print 
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: does not work when mambo SEF is on « previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved.
TERMS OF USE