Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Install Question step 9b Help?


leismeister

Recommended Posts

I am installing SEOg..and am at a point (step9b) where I am unsure about the instructions

its says to

----

Also note, you need to port any custom modifications you have in that particular section of the application_top.php (now enclosed with the SEO-G tags) into the catalog\root.php. The included root.php uses part of the stock osC application_top.php file. Markers are placed in the included root.php file to help you compare and place if necessary the equivalent code from application_top.php. If you copy the exact potion of the application_top.php into the root.php make sure the root.php includes the following:

if ($request_type == 'NONSSL') {

define('DIR_WS_CATALOG', DIR_WS_HTTP_CATALOG);

$g_relpath = HTTP_SERVER . DIR_WS_CATALOG;

$g_server = HTTP_SERVER;

} else {

define('DIR_WS_CATALOG', DIR_WS_HTTPS_CATALOG);

$g_relpath = HTTPS_SERVER . DIR_WS_CATALOG;

$g_server = HTTPS_SERVER;

}

---

What is the code I need to into the root.php? I dont have any custom modifications (i dont think)

Do I place the previous code

----

//-MS- SEO URLs Support Added

require(DIR_WS_CLASSES . 'seo_url.php');

$g_seo_url = new seoURL;

//-MS- SEO URLs Support Added EOM

 

}

//-MS- SEO-G Added EOM

---

if so where do I place it in the root? why is this not in the root.php (which is part of install) already?

 

As you can guess this is a bit over my head but fun to try to figure out....Help?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...