aarslank Posted December 30, 2002 Share Posted December 30, 2002 What is a best way to link to allprods page so search engines would catch it easily? Should I just hardcode it into some page like about_us??? Or put it into a frame like 'information' (you the one in the left column.. which has links to 'contactus', 'shipping and returns', etc.) Quote Thanks for your help. Link to comment Share on other sites More sharing options...
dreamscape Posted December 30, 2002 Share Posted December 30, 2002 I put mine in the footer... I've seen alot of sites do it that way... like: View all products <--(link to allprods.php) copyright blah blah... powered by osCommerce Quote The only thing necessary for evil to flourish is for good men to do nothing - Edmund Burke Link to comment Share on other sites More sharing options...
networkdad Posted December 31, 2002 Share Posted December 31, 2002 I put mine in the footer... I've seen alot of sites do it that way... like: View all products <--(link to allprods.php) copyright blah blah... powered by osCommerce That's how i've done mine as well. Google and other bots eat it up. Quote Link to comment Share on other sites More sharing options...
frozengeek Posted January 21, 2003 Share Posted January 21, 2003 I made it a link that shows up in the Categories box right under the list of categories so it looks like it belongs there: Widgets Super Widgets Widget Accessories Another Widget Category All Products Here's how: In catalog/includes/boxes/categories.php, where the last 15 lines of original code at the bottom of the page are these: break; } } } tep_show_category($first_element); $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => $categories_string ); new infoBox($info_box_contents); ?> </td> </tr> <!-- categories_eof //--> Change it so it now looks like this: // break; // Commented out for All Products link } } } tep_show_category($first_element); $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => $categories_string . // Dot added after string above and line added below for All Products link '<a href="allprods.php">All Products</a>' ); new infoBox($info_box_contents); ?> </td> </tr> <!-- categories_eof //--> Another nice thing about this is that instead of being way down there in the footer, the link is now higher up in every page that has the Categories box. :D :D :D One thing I am wondering though if anyone knows -- does it make a difference search-spiders-wise whether the link is allprods.php or perhaps would they like it better as http://www.whateverdomain.com/allprods.php ??? Anne Quote Link to comment Share on other sites More sharing options...
wizardsandwars Posted January 21, 2003 Share Posted January 21, 2003 Hey Burt, Interestingly enough, I put 2 links to the allprods page. One of the pages, I added an extra parameter to the product_Page URL, for example: http://www.wizardsandwars.com/pc_games.php...d=105&allprod=a It turns out that Google has never successfully indexed any of the products from the allprod page that I put a link to in the categories box. It has successfully indexed the products from the allprods link that I put in the footer. Quote ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help. Link to comment Share on other sites More sharing options...
frozengeek Posted January 21, 2003 Share Posted January 21, 2003 Cool, thanks! Under Advanced Search is a good idea - makes sense there too :wink: Anne Quote Link to comment Share on other sites More sharing options...
wizardsandwars Posted January 21, 2003 Share Posted January 21, 2003 Well, I just upgraded my categories box, so that it displays subcategories all the time. However, before that, I had a link to an allprods page in both my categories infobox, as well as in my footer. Except that I copied the Allprods module, so that I had an allprods1, and an allprods2. Allprods1, I put in my categorys infobox. I changed all of the links to my products in this allprods1 page to include an extra parameter. That way when google spidered them, I could tell where the bot found the link that it indexed. Allprods2, I put into my footer. This one is still on my website, and I left the product links as they came with the contribution. None of the special URLs with the extra paramenter from Allprods1 ever showed up in the google index, though, even after being up for aobut 5 months. It seems that Google likes links it finds in the footer much better than links it finds in infoboxes, for some reason. Quote ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help. Link to comment Share on other sites More sharing options...
radders Posted January 21, 2003 Share Posted January 21, 2003 It has always been my understanding that the footer is a fairly important area for search engines after the first visible text in the file when the html is read sequentially and anything in <h1></h1> tags Quote Link to comment Share on other sites More sharing options...
radders Posted January 22, 2003 Share Posted January 22, 2003 Well, I just upgraded my categories box, so that it displays subcategories all the time. How did you do this? I've tried the all_categories mod but can't find any instructions on what to do with it. Quote Link to comment Share on other sites More sharing options...
wizardsandwars Posted January 22, 2003 Share Posted January 22, 2003 Hi David, Why in the contributions section, of course. http://www.oscommerce.com/community/contributions,885 Quote ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help. Link to comment Share on other sites More sharing options...
radders Posted January 22, 2003 Share Posted January 22, 2003 Thanks Chris, I'll try that contribution instead. I had been trying to use the all_categories.php contribution Quote Link to comment Share on other sites More sharing options...
danzie1 Posted September 17, 2005 Share Posted September 17, 2005 Are you refering to all_products.php? Which file do you copy this code to <?php echo '<a href="' . tep_href_link(FILENAME_ALL_PRODUCTS) . '">' . ALL_PRODUCTS_LINK . '</a>'; ?> To get all products link in the footer?? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 19, 2005 Share Posted September 19, 2005 I have just installed this contribution myself this afternoon and put the code in /includes/footer.php Hope this helps? Dave Are you refering to all_products.php? Which file do you copy this code to <?php echo '<a href="' . tep_href_link(FILENAME_ALL_PRODUCTS) . '">' . ALL_PRODUCTS_LINK . '</a>'; ?> To get all products link in the footer?? <{POST_SNAPBACK}> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.