Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ULTIMATE Seo Urls 5 - by FWR Media


Recommended Posts

Yes you still had some issues ..

// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://www.natureguystudio.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.natureguystudio.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.natureguystudio.com');
define('HTTPS_COOKIE_DOMAIN', 'www.natureguystudio.com');

 

It was the / at the end of the urls causing the issue ..

 

http://www.natureguystudio.com/

 

THANK YOU!!!! That did the trick. Everything is working like a charm now. I was confused by the slashes when I set that up. The Oscommerce documentation was a bit vague, and for someone who hasn't done this before, errors will be made with vagueness.

Link to comment
Share on other sites

I can't help based on that info as there is no problem with this, it must be local.

 

View source on the product page and see what the code is. On my local server it looks like ..

 

<td class="main" align="right"><input type="hidden" name="products_id" value="20"><input type="image" src="includes/languages/english/images/buttons/button_in_cart.gif" border="0" alt="Add to Cart" title=" Add to Cart "></td>

 

Or maybe it's the form .. mine is like ..

<form name="cart_quantity" action="http://www.localdev.com/usu5/product_info.php/beloved-p-20?action=add_product" method="post">

 

hi,

now found what was wrong.

In the Admin, "Enter special character conversions" was empty.

I added the conversion, and it works.

 

This is the conversion for Spanish (espanol):

á=>a, é=>e, í=>i, ó=>o, ú=>u, ñ=>n, Á=>A, É=>E, Í=>I, Ó=>O, Ú=>U, Ñ=>N, ¿=> , ?=> , ¡=> , !=>

 

Thanks for your help

Link to comment
Share on other sites

I can't help based on that info as there is no problem with this, it must be local.

 

View source on the product page and see what the code is. On my local server it looks like ..

 

<td class="main" align="right"><input type="hidden" name="products_id" value="20"><input type="image" src="includes/languages/english/images/buttons/button_in_cart.gif" border="0" alt="Add to Cart" title=" Add to Cart "></td>

 

Or maybe it's the form .. mine is like ..

<form name="cart_quantity" action="http://www.localdev.com/usu5/product_info.php/beloved-p-20?action=add_product" method="post">

 

hi,

now found what was wrong.

In the Admin, "Enter special character conversions" was empty.

I added the conversion, and it works.

 

This is the conversion for Spanish (espanol):

á=>a, é=>e, í=>i, ó=>o, ú=>u, ñ=>n, Á=>A, É=>E, Í=>I, Ó=>O, Ú=>U, Ñ=>N, ¿=> , ?=> , ¡=> , !=>

 

Thanks for your help

Link to comment
Share on other sites

hi,

now found what was wrong.

In the Admin, "Enter special character conversions" was empty.

I added the conversion, and it works.

 

This is the conversion for Spanish (espanol):

á=>a, é=>e, í=>i, ó=>o, ú=>u, ñ=>n, Á=>A, É=>E, Í=>I, Ó=>O, Ú=>U, Ñ=>N, ¿=> , ?=> , ¡=> , !=>

 

Thanks for your help

 

Glad you got it going Andres .. You may be better off using the file based conversions than the admin one, especially if you have more than one language needing conversion.

 

The admin based one only exists for backwards compatibility.

Link to comment
Share on other sites

THANK YOU!!!! That did the trick. Everything is working like a charm now. I was confused by the slashes when I set that up. The Oscommerce documentation was a bit vague, and for someone who hasn't done this before, errors will be made with vagueness.

 

My pleasure.

 

Most things in osCommerce work better once you have got includes/configure.php correct.

Link to comment
Share on other sites

Hi there,

 

I'm using CRELoaded 6.4 instead of OSc2.2. I have installed this SEO in a test server. It seems working fine.

But I just want to make sure in the

 

CRELoaded includes/application_top.php

 

// set php_self in the local scope

$PHP_SELF = (isset($_SERVER['PHP_SELF']) ? $_SERVER['PHP_SELF'] : $_SERVER['SCRIPT_NAME']);

 

 

Do I have to make any changes?

 

Thanks

Link to comment
Share on other sites

Thanks for the reply.

 

I had the same seo duplicates problem with regular URLs

 

/product_info.php?cPath=1&products_id=32

/product_info.php?cPath=2&products_id=32

/product_info.php?cPath=3&products_id=32

/product_info.php?products_id=32

 

all pointing to the same page but different URLs to google. The solution i found was to set a "noindex, follow"

meta tag if cPath was present. that way the only page to get indexed by google was the one without cPath. This

is also the format of the URL which appears in my google sitemap and it works fine.

 

With seo urls it should be possible to do the same thing by turning on the cPath in the config.

i've found that i already need to do this since without it the site seems to loose the breadcrumb regarding which

category the customer is viewing the product in.

 

I think it would be a nice option to be able to include the category in the URL :) but to make the shop owner aware of the duplicates issue

or maybe try and include the "noindex, follow" tag setting to prevent the duplicates.

 

Many thanks for your time.

Kind regards

Scott

 

Hi Scott

 

Thanks for the feedback and glad you like it.

 

I had considered adding the option of the category name before the product name but it holds seo penalties, I'll explain.

 

As you mentioned ..

 

a single product can belong to multiple categories

 

This could lead to several urls all pointing to the same product/content .. e.g.

 

cat1-my-great-product-p-32.html

 

cat2-my-great-product-p-32.html

 

cat2-my-great-product-p-32.html

 

This unfortunately is duplicate content.

Link to comment
Share on other sites

Hi, I am having a little bit of issues with your files to replace those from Google XML sitemap, from Chemo, contribution. This is a new install with V1.4 of Google Sitemaps. I appear to get the xml output files, but in catalog/googlesitemap/ instead of catalog/, but that seems ok. I get a couple of errors when running /googlesitemap/index.php, so I thought I would run them by you.

 

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /***/******/public_html/catalog/googlesitemap/sitemap.class.php on line 535

 

ERROR: Google Pages Sitemap Generation FAILED!

 

Write /*****/******/public_html/catalog/googlesitemap/sitemapindex.xml

Generated Google Sitemap Index Successfully

 

AND

 

Warning: file_put_contents(/*****/******/public_html/catalog/googlesitemap/includes/modules/ultimate_seo_urls5/cache/1_usucache.cache) [function.file-put-contents]: failed to open stream: No such file or directory in /*****/*******/public_html/catalog/includes/modules/ultimate_seo_urls5/classes/Usu_Cache_FileSystem.php on line 35

 

I agree with the above warning. There is no such folder structure under catalog/googlesitemap but is rather found under catalog/includes/

Maybe the same issue why the XML files ended up in the catalog/googlesitemap/ rather than catalog/.

 

Is there a code change I should add or something else I should change? Thanks.

Link to comment
Share on other sites

Hi, I am having a little bit of issues with your files to replace those from Google XML sitemap, from Chemo, contribution. This is a new install with V1.4 of Google Sitemaps. I appear to get the xml output files, but in catalog/googlesitemap/ instead of catalog/, but that seems ok. I get a couple of errors when running /googlesitemap/index.php, so I thought I would run them by you.

 

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /***/******/public_html/catalog/googlesitemap/sitemap.class.php on line 535

 

ERROR: Google Pages Sitemap Generation FAILED!

 

Write /*****/******/public_html/catalog/googlesitemap/sitemapindex.xml

Generated Google Sitemap Index Successfully

 

AND

 

Warning: file_put_contents(/*****/******/public_html/catalog/googlesitemap/includes/modules/ultimate_seo_urls5/cache/1_usucache.cache) [function.file-put-contents]: failed to open stream: No such file or directory in /*****/*******/public_html/catalog/includes/modules/ultimate_seo_urls5/classes/Usu_Cache_FileSystem.php on line 35

 

I agree with the above warning. There is no such folder structure under catalog/googlesitemap but is rather found under catalog/includes/

Maybe the same issue why the XML files ended up in the catalog/googlesitemap/ rather than catalog/.

 

Is there a code change I should add or something else I should change? Thanks.

 

This is nothing to do with USU5, the cache path is wrong which probably means DIR_FS_CATALOG is wrong in your includes/configure.php

Link to comment
Share on other sites

I think it would be a nice option to be able to include the category in the URL :) but to make the shop owner aware of the duplicates issue

 

Many thanks for your time.

Kind regards

Scott

 

I may consider it in the future.

 

or maybe try and include the "noindex, follow" tag setting to prevent the duplicates.

 

Url contributions like this produce urls and not a href html code so this would have to be applied elsewhere.

Link to comment
Share on other sites

This is nothing to do with USU5, the cache path is wrong which probably means DIR_FS_CATALOG is wrong in your includes/configure.php

Ok, I figured it out by searching other posts for a while. For others that will have this problem, I changed the orginal OScommerce includes/configue.php line

FROM: define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

TO: define('DIR_FS_CATALOG', '/home/******/public_html/catalog/'); // your direct, local or physical path to your catalog folder

 

Everything is working as it should now. :)

Link to comment
Share on other sites

Ok, I figured it out by searching other posts for a while. For others that will have this problem, I changed the orginal OScommerce includes/configue.php line

FROM: define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

TO: define('DIR_FS_CATALOG', '/home/******/public_html/catalog/'); // your direct, local or physical path to your catalog folder

 

Everything is working as it should now. :)

 

Yes DIR_FS_CATALOG should always be a full path, glad you got it sorted and thanks for letting us know what the issue was.

Link to comment
Share on other sites

Hi There,

 

Relatively new to oscommerce. Making oscommerce with number of contris.

 

If we install ULTIMATE Seo Urls 5 - Revision 96 [Full Package], is it then still neccessary to install an sid killer so that googlebot doesn't make mistakes ?

 

If so which one do you recommend ?

http://addons.oscommerce.com/info/952 (sid killer)

and/or

http://addons.oscommerce.com/info/2819 (sider Session Remover v1.0 (Jan 15th 2005))

 

Thanks for your help

Geert

Link to comment
Share on other sites

Hi There,

 

Relatively new to oscommerce. Making oscommerce with number of contris.

 

If we install ULTIMATE Seo Urls 5 - Revision 96 [Full Package], is it then still neccessary to install an sid killer so that googlebot doesn't make mistakes ?

 

If so which one do you recommend ?

http://addons.oscommerce.com/info/952 (sid killer)

and/or

http://addons.oscommerce.com/info/2819 (sider Session Remover v1.0 (Jan 15th 2005))

 

Thanks for your help

Geert

 

It is never necessary to install an sid killer, just make sure the osCsid is not persistent (should disappear after a couple of clicks) by getting your includes/configure.php correct.

Link to comment
Share on other sites

It is never necessary to install an sid killer, just make sure the osCsid is not persistent (should disappear after a couple of clicks) by getting your includes/configure.php correct.

 

Can you explain, what we have to change ?

 

thanks

Geert

Link to comment
Share on other sites

Can you explain, what we have to change ?

 

thanks

Geert

 

Not here because this is the support forum for USU5, for general support try the general support forum.

Link to comment
Share on other sites

Hi,

 

I'm quite new with SEO but I have been working with OSC for couple of months for now. This contribution seem very nice and installation instructions are well defined. Contribution seems to work in my test shop to some point, but...

 

I still have a problem with database installation. I have done everything as it is said in "start_here.html". In database installation I get an error message:

----------------------------------------------------------------------------

All configuration values look good.

Configuration Group auto increment to start at 16

At least one of the tables to insert already exists!

No tables to alter it seems.

No fields to insert it seems.

No fields to alter it seems.

 

There was at least one error, we therefore cannot install.

Database mydatabase_ has not been touched.

 

Please check database mydatabase_ against the contribution for conflicts.

----------------------------------------------------------------------------

I have closed all windows before running installer.php.

 

I have almost clear/empty OSC, but with two other contributions. These are "newsdesk_v_1.51" and "UltraPics 2.08".

 

Could anyone please help me with this problem.

 

Thanks in advance,

Henri

Link to comment
Share on other sites

Hi,

 

I'm quite new with SEO but I have been working with OSC for couple of months for now. This contribution seem very nice and installation instructions are well defined. Contribution seems to work in my test shop to some point, but...

 

I still have a problem with database installation. I have done everything as it is said in "start_here.html". In database installation I get an error message:

----------------------------------------------------------------------------

All configuration values look good.

Configuration Group auto increment to start at 16

At least one of the tables to insert already exists!

No tables to alter it seems.

No fields to insert it seems.

No fields to alter it seems.

 

There was at least one error, we therefore cannot install.

Database mydatabase_ has not been touched.

 

Please check database mydatabase_ against the contribution for conflicts.

----------------------------------------------------------------------------

I have closed all windows before running installer.php.

 

I have almost clear/empty OSC, but with two other contributions. These are "newsdesk_v_1.51" and "UltraPics 2.08".

 

Could anyone please help me with this problem.

 

Thanks in advance,

Henri

 

Hi Henri

 

USU5 only creates one table which is usu_cache this table should not exist prior to installation but seems to in your case.

 

Check your database for this table and if it exists drop it.

Link to comment
Share on other sites

Hi Henri

 

USU5 only creates one table which is usu_cache this table should not exist prior to installation but seems to in your case.

 

Check your database for this table and if it exists drop it.

 

Thanks a lot FRM. This was the problem and it is now solved. I did'n know the name of table. Now its working and only two live shops to go:)

 

Does anyone know is it better for search engine to have "URL rewrite" on standard- or on rewrite- mode?

 

Henri

Link to comment
Share on other sites

Thanks a lot FRM. This was the problem and it is now solved. I did'n know the name of table. Now its working and only two live shops to go:)

 

Does anyone know is it better for search engine to have "URL rewrite" on standard- or on rewrite- mode?

 

Henri

 

Makes no difference as far as I'm aware.

Link to comment
Share on other sites

Robert,

 

I do not use the catalog folder for my oscommerce shop. Can you please help me to get your modification to work?

 

includes/config.php

 define('HTTP_SERVER', 'http://www.13thgreen.com/'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.13thgreen.com/'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', '');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '');
 define('DIR_WS_HTTPS_CATALOG', '');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

Link to comment
Share on other sites

Robert,

 

I do not use the catalog folder for my oscommerce shop. Can you please help me to get your modification to work?

 

includes/config.php

 define('HTTP_SERVER', 'http://www.13thgreen.com/'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.13thgreen.com/'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', '');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '');
 define('DIR_WS_HTTPS_CATALOG', '');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

Yes USU5 wouldn't work with that configuration file, it has ... errrm .. issues :)

 

Try the following: -

 

  define('HTTP_SERVER', 'http://www.13thgreen.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.13thgreen.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.13thgreen.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.13thgreen.com');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

Also you have a parse error: -

 

Parse error: syntax error, unexpected '}' in /home/xxx/public_html/includes/footer.php on line 47
Edited by FWR Media
Link to comment
Share on other sites

Thanks for catching the parse error. The error was generated from the modification I made to the footer while making the manual edits for your mod. My site is heavily modified so some things are a little different. I will give your post a try in a little bit. I hope we can get it to work! I already made all the changes.

Link to comment
Share on other sites

Thanks for catching the parse error. The error was generated from the modification I made to the footer while making the manual edits for your mod. My site is heavily modified so some things are a little different. I will give your post a try in a little bit. I hope we can get it to work! I already made all the changes.

 

It will work .. USU5 works unless something is wrong on the site .. currently there are no known problems.

 

BTW I reacted to your post on the old series 2 seo urls support topic, it would be nice if you could post back there when it works as your post there would suggest to others that usu5 has issues, which it doesn't to my knowledge.

Link to comment
Share on other sites

Robert,

 

I updated the configure file to prevail. However, were one step closer to resolution. The links work! But the images do not display on the product pages. What do you think could be doing this? Also I have no problem updating both threads :)

 

Thanks

Edited by 32 Degrees
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...