Zen Cart Logo
Forums / All Other Contributions/Addons / SSU problem with urls after 1.3.9h upgrade

SSU problem with urls after 1.3.9h upgrade

Views: 960

Results 1 to 2 of 2
5 Mar 2011, 2:19 PM
#1
swamyg1 avatar

swamyg1

Zen Follower

Join Date:
Dec 2008
Location:
San Fran
Posts:
382
Plugin Contributions:
0

SSU problem with urls after 1.3.9h upgrade

I have an issue related to SEO URLS, hopefully they'll be easy enough to solve.

The first is that when the homepage initially loads, the links are of the form eg.

https://www.mysite.com/index.php?main_page=product_info&products_id=222

https://www.mysite.com/index.php?main_page=index&cPath=40

However once you've clicked once on a link then the links behave as expected and the ?zenid=... disappears and you get nice urls
i.e. happy-doggies/orange-happy-doggies etc.

I just upgraded from 1.3.8 by the way! Thanks for any help.

5 Mar 2011, 2:26 PM
#2
swamyg1 avatar

swamyg1

Zen Follower

Join Date:
Dec 2008
Location:
San Fran
Posts:
382
Plugin Contributions:
0

Re: SSU problem with urls after 1.3.9h upgrade

Nevermind!!!

Looks like I was missing the following code in includes/functions/html_output.php:

    //bof simple seo url
    global $ssu;
    if(is_object($ssu) && ($link = $ssu->ssu_link($page, $parameters, $connection, $add_session_id, $search_engine_safe, $static, $use_dir_ws_catalog))!= false) return $link;
    //eof simple seo url