Shape 5

Joomla Templates => Sportopolis - Club => : yudistira1 August 13, 2009, 11:44:17 AM



: Problem when SEF is enabled
: yudistira1 August 13, 2009, 11:44:17 AM
Hi,
I have a problem with my site (http://www.blewah.com) when SEF is enabled. If you click "Home" on the main menu, the site will display the following url: "http://www.blewah.com/index.php/home-mainmenu-1".  Then you will notice that the thumb images in news display module do not come out. Furthermore, when you click on any links on the site, such as "read more", it will display the content on the same page. Is it supposed to be like this when SEF is enabled?

FYI, I installed the Sportopolis Site Shaper successfully. I also added this value in "configuration.php":

var $live_site= 'http://www.blewah.com';

Please help. thanks.


: Re: Problem when SEF is enabled
: mikek August 13, 2009, 12:03:15 PM
Hi, some servers have this problem. Edit the file s5_no_moo_menu.php in the template's root folder and at line 107 you'll find:

if ($s5_check_itemid > 1) {
          $mitem->link = "";
       }


Just below that add:


if ($mitem->name == "Home") {
          $mitem->link = "";
       }


: Re: Problem when SEF is enabled
: yudistira1 August 14, 2009, 08:26:53 AM
Thanks Mike, that worked!


: Re: Problem when SEF is enabled
: yudistira1 August 19, 2009, 05:21:00 PM
Hi Mike,

Is that possible to get rid of this url: http://www.blewah.com/index.php/home-mainmenu-1  ?

I am worried search engines will crawl this url and my visitors will get confused when access the site via the url above.

Thanks in advance.

Wahyu