Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sitemap SEO


Jack_mcs

Recommended Posts

i have just upgrade from 1.7 to 1.9 and have 2 problems.

 

When I view the www.yeltsa.com/sitemap.php the top level categories url are like this www.yeltsa.com/-c-.html although the anchor text is present and correct.

 

The other is when I change settings within the admin on the Page Control page is does not save my settings when i click update.

 

Any help would be great

The first is due to your url rewriter. If you are using Ultimae SEO V2.2d (recommended), then you need to update it. For any others, post a question in its support thread. I can't suggest anything for the second. This contribution is used in many shops and no one has reported that problem so it would seem to be due to some mistake in your installation or some setting on the server.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi, thanks for the quick reply, i already have the lastest version installed "Ultimae SEO V2.2d", I have just checked all the files against a fresh download of the contribution and everything is ok. All the other links in the sitemap work and the categories did work on version 1.7, its only when I have installed the updates for version 1.8/1.9 that the links broke.

Link to comment
Share on other sites

Hi, thanks for the quick reply, i already have the lastest version installed "Ultimae SEO V2.2d", I have just checked all the files against a fresh download of the contribution and everything is ok. All the other links in the sitemap work and the categories did work on version 1.7, its only when I have installed the updates for version 1.8/1.9 that the links broke.

There's nothing in the code of this contribution that controls the url's. I creates the links and then the url rewriter changes them. All I can think of is that maybe the cache of Ultimate SEO needs to be cleared. I suggest going into its settings and using the uninstall option. Then refresh the shop side to re-install it.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I have uninstalled and reset the cache and no luck. After doing this though the option to filter short words has disappeared from the admin so my urls have changed? have you any idea what this could be?

That option is built into the code so if it is missing, somethng is wrong with the installation of that contribution, which would also explain the problem with this one. Try turning off Ultimate SEO and checking the site map links. If they work, then it is a problem related with Ultimate SEO. Please ask subsequent questions regarding that in its support thread.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Fixed it...

 

within the file includes/classes/category_tree.php on line 46 i added a line of code back in that was in version 1.7,

 

changed this;

 

	    if ($parent_id == '0') {
	    } else {
#			  $category_link = $p_category_link . '_' . $category_id;
		  $category_link = (tep_not_null($p_category_link) ? $p_category_link . '_' . $category_id : $category_id);
	    }

 

to this

 

	    if ($parent_id == '0') {
   $category_link = $category_id;
	    } else {
#			  $category_link = $p_category_link . '_' . $category_id;
		  $category_link = (tep_not_null($p_category_link) ? $p_category_link . '_' . $category_id : $category_id);
	    }

 

Not sure if this is/was the problem but fixed my problem..

 

Cheers

Edited by chris.astley
Link to comment
Share on other sites

I get this when I click on Sitemap SEO in my admin panel.

 

1146 - Table 'onestep_online.sitemap_seo_pages' doesn't exist

 

select count(*) as total from sitemap_seo_pages where language_id = 1

 

[TEP STOP]

 

Need Help please.

Link to comment
Share on other sites

I get this when I click on Sitemap SEO in my admin panel.

 

1146 - Table 'onestep_online.sitemap_seo_pages' doesn't exist

 

select count(*) as total from sitemap_seo_pages where language_id = 1

 

[TEP STOP]

 

Need Help please.

It appears you didn't make the mysql changes.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Jack, upgrading 1.8 to 1.9, the 2.3.1 shops are working fine, but in a 2.2 shop with configuration>sitemap seo>show related products by manufacturer set true I get a page distortion, with the right column disappearing and the boxes in the right column shifting to the bottom left.

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Link to comment
Share on other sites

Jack, upgrading 1.8 to 1.9, the 2.3.1 shops are working fine, but in a 2.2 shop with configuration>sitemap seo>show related products by manufacturer set true I get a page distortion, with the right column disappearing and the boxes in the right column shifting to the bottom left.

On what page the distortion occur?

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

On what page the distortion occur?

 

Sorry about that...only on an individual product page. Example, select a category...fine. Pick a product from that category...that's where the issue arises.

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Link to comment
Share on other sites

Sorry about that...only on an individual product page. Example, select a category...fine. Pick a product from that category...that's where the issue arises.

In the product_info.php file, there are three statements loading the various sitemap modules. Try deleting one at a time to make sure which moduel the problem is in. The try adding echo '<tr><td>'; before that statement and echo </td>/tr>'; after it. Maybe that will help.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Jack, in the module, sitemap_manufacturers changing

 

		 echo '<table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td class="smallText"><a href="javascript:displaySitemapManufacturers();" class="smallText"><span style="vertical-align:text-bottom; "><img src="images/sitemap_arrow.jpg" alt="" border="0"></span><span style="padding-left: 3px;">' . TEXT_SITEMAP_RELATED_MANUFACTURERS . '</span></a></td>

 

to

 

		 echo '<div><tr><td class="smallText"><a href="javascript:displaySitemapManufacturers();" class="smallText"><span style="vertical-align:text-bottom; "><img src="images/sitemap_arrow.jpg" alt="" border="0"></span><span style="padding-left: 3px;">' . TEXT_SITEMAP_RELATED_MANUFACTURERS . '</span></a></td>

 

and

 

			   </tr></table>';

 

to

 

			  </tr></div>';

 

fixed it

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Link to comment
Share on other sites

Great. Thanks for posting the fix since it may help others.

 

No problem and thank you.

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Link to comment
Share on other sites

hello Jack, great addon--

i used this for 2.2 this is the first time installing on 2.3.1.

 

i installed 1.9 and everthing so far is fine.

 

one weird problem the styles do not show up on sitemap.php page.

 

it is just plain, checked the stylesheet and everthign is ok, any ideas??

 

craig

Edited by zpupster
Link to comment
Share on other sites

hello Jack, great addon--

i used this for 2.2 this is the first time installing on 2.3.1.

 

i installed 1.9 and everthing so far is fine.

 

one weird problem the styles do not show up on sitemap.php page.

 

it is just plain, checked the stylesheet and everthign is ok, any ideas??

 

craig

If you are using a template, the stylesheets are usually stored in a directory named css. Maybe that is the problem. It is working fine here in my 2.3 test shop so I can only guess it is an installation problem if it isn't the case of a template.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

  • 4 weeks later...

Will this sitemap work with Ultimate SEO URLs 5 PRO?

osCommerce 2.3.1 - QTPro 4.6.1 - Ultimate SEO URL's 5 Pro r205 - Discount Code 3.1 - Column listing with smart columns - Products Sort and some more

Link to comment
Share on other sites

  • 4 weeks later...

Hi, I'm very new to php. I installed this amazing program and as per instruction, went to the Box Control to hit update and got this message:

 

Warning: file(/home/content/39/6606139/html/catalog/includes/boxes/Array) [function.file]: failed to open stream: No such file or directory in /home/content/39/6606139/html/catalog/admin/includes/functions/sitemap.php on line 203

 

I went to line 203 and I'm unsure what I'm supposed to do.

 

Thank you so much for your hard work!

Link to comment
Share on other sites

Hi, I'm very new to php. I installed this amazing program and as per instruction, went to the Box Control to hit update and got this message:

 

Warning: file(/home/content/39/6606139/html/catalog/includes/boxes/Array) [function.file]: failed to open stream: No such file or directory in /home/content/39/6606139/html/catalog/admin/includes/functions/sitemap.php on line 203

 

I went to line 203 and I'm unsure what I'm supposed to do.

 

Thank you so much for your hard work!

The instructions don't say to do that. Please do what they say and then see if the problem still exists. A few people have mentioned this problem but, as far as I know, it doesn't happen in the latest version.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

  • 2 weeks later...

The instructions don't say to do that. Please do what they say and then see if the problem still exists. A few people have mentioned this problem but, as far as I know, it doesn't happen in the latest version.

 

 

=================================================================================

Hi Jack,

 

I have the exactly the same error on line 203

(I change the "catalog" to something else, I am not sure will this cause the error?)

 

=================================================================================

 

I also have problem with backend, somehow on the admin left column, it got to sitemap SEO boxes,

I tried to delete via column_left.php, but it doesn't work even I comment sitemape SEO, still two boxes there.

 

is it setting from configuration? I am newbie, has no idea how to fix it.

 

=================================================================================

 

last question

on the frontend, there are space in between small text and the footer, how can I delete the space in between?

 

 

 

many thanks

 

lyn

Link to comment
Share on other sites

I have the exactly the same error on line 203

(I change the "catalog" to something else, I am not sure will this cause the error?)

 

Line 203 of ???

 

I also have problem with backend, somehow on the admin left column, it got to sitemap SEO boxes,

I tried to delete via column_left.php, but it doesn't work even I comment sitemape SEO, still two boxes there.

 

is it setting from configuration? I am newbie, has no idea how to fix it.

 

Did you try the exclude option in box control?

 

last question

on the frontend, there are space in between small text and the footer, how can I delete the space in between?

What page on the shop side? Small text of what?

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

All of a sudden the Sitemap SEO product add-ons do not work (ie: Related Products & Related Manufactures)

 

When you click on them they do not expand.

 

There has not been any add-ons except for new products and manufactures but no source code edits.

 

You can take a look here - http://www.emergencyoutdoors.com/flashlights-fenix-ld10-led-flashlight-p-74.html

 

Also the Sitemap is perfectly fine when you click on Hide / Show Products

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...