Jump to content



Latest News: (loading..)

* * * * * 2 votes

Sitemap SEO


  • Please log in to reply
791 replies to this topic

#741   14steve14

14steve14

    STORE OWNER NOT CODER

  • Members
  • 3,074 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Dorset UK

Posted 31 July 2012 - 02:41 PM

View Postal3ks, on 31 July 2012 - 02:33 PM, said:

@14steve14

Thanks, that's exactly what it was.

Glad you got it working. it took me ages to find that when i had installed it.
REMEMBER BACKUP, BACKUP AND BACKUP
I am not a coder, so dont bother sending PMs asking for help as you wont get any.  

OSC has a steep learning curve, but in general the program does work.  If it doesnt work, the chances are it is something you have done.

#742   CrazyCarzCustoms

CrazyCarzCustoms
  • Members
  • 151 posts
  • Real Name:Rob
  • Gender:Male
  • Location:Oliveira do Hospital - Portugal

Posted 29 August 2012 - 03:55 PM

Hi Jack,

I just installed this on 2.3.3 , it was a easy install , even for me , and it works like perfect!!

I just wanted to thank you for a very nice addon.

THANKS.


Rob

#743   Jack_mcs

Jack_mcs
  • Members
  • 25,304 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 29 August 2012 - 04:34 PM

You're welcome. I'm glad it is helpful.

#744   grandpaj

grandpaj
  • Members
  • 201 posts
  • Real Name:John

Posted 05 October 2012 - 01:06 AM

Hi Jack

Thank you for a great and easy to install add on. Especially for those of us who are real bunnies.

Just one thing. I'm not sure whether the links in the Information box ( Contact Us Shipping & Returns etc) are supposed to show on the Site map page. If they are can you please tell me what I need to do to correct this, as mine doesn't, all I get are the categories and sub categories. I have checked the install instructions and all seem to be OK,, have also read through many posts on this forum but don't seem to be able to find the answer.
I'm also not sure whether there is supposed to be a heading in the page as the page starts a wee way down (about 2.5cm) from the top.

Hope the above makes sense.

Many thanks again for the contribution and look forward to your response.

I have installed v1.9 and using oscommerce .2.2MS2

Grandpa

Edited by grandpaj, 05 October 2012 - 01:10 AM.


#745   Jack_mcs

Jack_mcs
  • Members
  • 25,304 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 05 October 2012 - 03:05 AM

You need go to Boxes Individual Control in box control, select the box and update it. You also need to fill in the titles in settings control.

#746   grandpaj

grandpaj
  • Members
  • 201 posts
  • Real Name:John

Posted 05 October 2012 - 07:10 AM

Hi Jack

Many thanks for that. How stupid am I.

I hope this question isn't another silly one.

I have one page in the Information section which is secured. When I click on the link in the Info box it goes to the secure page, but when I click on the link in the site map it goes to the page but the page is not secure, Do you have any thoughts on what I could do, to ensure that when the link in the site map is clicked it will take the user to the secure page.

Many thanks

Grandpa

#747   Jack_mcs

Jack_mcs
  • Members
  • 25,304 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 05 October 2012 - 01:15 PM

There's nothing in the code that will allow the url to switch to secure. The best way to deal with it is to place a command in the .htaccess file to force a change to ssl when that page is loaded. That should be done anyway because it is a security hole if it doesn't change.

#748   grandpaj

grandpaj
  • Members
  • 201 posts
  • Real Name:John

Posted 05 October 2012 - 08:40 PM

Hi Jack

Many thanks so much for your reply.

I'm a bit of a bunny, but learning.
What exactly do I need to do. I presume that's the .htaccess file in the "folder or maybe its called the Root Directory" which contains scgibin, mail, pub, mail cgibin etc.

But as to what code I should insert, I'm lost. If you're able to guide that would great and much appreciated.

Again many thanks

Grandpa

#749   Jack_mcs

Jack_mcs
  • Members
  • 25,304 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 05 October 2012 - 11:49 PM

It would be the main .htaccess file in the root. As for how to do it, that is not a subject for this thread. You can post in the general forum or search the web for how to force ssl for a page - there are many examples.

#750   grandpaj

grandpaj
  • Members
  • 201 posts
  • Real Name:John

Posted 06 October 2012 - 12:21 AM

Hi jack

many thanks

Grandpas

#751   Irin

Irin
  • Members
  • 789 posts
  • Real Name:Irina
  • Gender:Female
  • Location:Texas

Posted 11 October 2012 - 01:46 PM

Hi. Great add-on. I'm using the "Enable & Disable Categories" contribution and was wondering what do I need to change to force the sitemap to not display the hidden categories. Also, I want to display only manufacturers that have linked products and hide those that have no products. How can I do that?

Thanks in advance.

#752   Jack_mcs

Jack_mcs
  • Members
  • 25,304 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 11 October 2012 - 02:22 PM

I don't use that contribution so I don't know what code to add to limit the category. It would have to be added to the sitemap module files where categories are called. For the manufacturers, I think changing this line in includes/modules/sitemap_manufacturers.php file
		  $products_query = tep_db_query("select m.manufacturers_id, m.manufacturers_name from " . TABLE_PRODUCTS . " p left join " .  TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join  " .			TABLE_PRODUCTS_TO_CATEGORIES . " p2c on p2c.products_id = p.products_id left join  " .  TABLE_CATEGORIES . " c on p2c.categories_id = c.categories_id where p.products_status > 0 and c.categories_id = " . $mapCID);
to
		  $products_query = tep_db_query("select m.manufacturers_id, m.manufacturers_name from " . TABLE_PRODUCTS . " p left join " .  TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join  " .			TABLE_PRODUCTS_TO_CATEGORIES . " p2c on p2c.products_id = p.products_id left join  " .  TABLE_CATEGORIES . " c on p2c.categories_id = c.categories_id where p.products_status > 0 and p.products_quantity > 0 and c.categories_id = " . $mapCID);


#753   Irin

Irin
  • Members
  • 789 posts
  • Real Name:Irina
  • Gender:Female
  • Location:Texas

Posted 11 October 2012 - 03:18 PM

Hi Jack,

I managed to disable the hidden categories by adding c.categories_status = '1' to the following query in category_tree.php and category_tree_no_products.php:
$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c left join " . TABLE_CATEGORIES_DESCRIPTION . " cd on c.categories_id = cd.categories_id where c.categories_status = '1' and cd.language_id = '" . (int)$languages_id . "' order by c.parent_id, c.sort_order, cd.categories_name");
I changed the line like you suggested in includes/modules/sitemap_manufacturers.php and includes/modules/sitemap.php, but unfortunately it didn't change how the manufacturers are being displayed. Any other ideas?

#754   Jack_mcs

Jack_mcs
  • Members
  • 25,304 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 11 October 2012 - 03:21 PM

No, I only provide limited support for non-standard changes.

#755   blaine109

blaine109
  • Members
  • 85 posts
  • Real Name:Blaine

Posted 25 October 2012 - 05:14 PM

Jack,

I get the following error when I go to sitemap.php
Fatal error: Cannot redeclare in_multi_array() (previously declared in /home/****/public_html/includes/functions/general.php:1377) in /home/*****/public_html/includes/functions/sitemap.php on line 132

Thanks,
Blaine

#756   Jack_mcs

Jack_mcs
  • Members
  • 25,304 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 25 October 2012 - 05:44 PM

In the includes/functions/sitemap.php and includes/modules/sitemap.php files, find
in_multi_array
and change it to something else, like
sitemap_in_multi_array


#757   blaine109

blaine109
  • Members
  • 85 posts
  • Real Name:Blaine

Posted 25 October 2012 - 05:54 PM

View PostJack_mcs, on 25 October 2012 - 05:44 PM, said:

In the includes/functions/sitemap.php and includes/modules/sitemap.php files, find
in_multi_array
and change it to something else, like
sitemap_in_multi_array
Thank you sir.

#758   blaine109

blaine109
  • Members
  • 85 posts
  • Real Name:Blaine

Posted 25 October 2012 - 06:08 PM

Jack,

I am also looking for a contribution to generate a sitemap that I can submit to google, bing, etc.

Is you Dynamic Sitemap contribution (http://addons.oscommerce.com/info/3306) still an active project of yours and does it work with all the other contributions (headertags, seo urls, etc.)?

Thanks,
Blaine

#759   Jack_mcs

Jack_mcs
  • Members
  • 25,304 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 25 October 2012 - 09:49 PM

No, I don't recommend the Dynamic Sitemap contribution. This one and the "Google XML Sitemap SEO" are better for the onsite and offsite site maps.

#760   blaine109

blaine109
  • Members
  • 85 posts
  • Real Name:Blaine

Posted 26 October 2012 - 03:29 AM

Does anyone else have issues with FireFox not showing the .css styles?  They work properly in IE but firefox there is no formatting.