dr_lucas Posted September 27, 2004 Author Share Posted September 27, 2004 (edited) Hello Everyone,I have installed this mod, and everything looks good. No errors, etc, but when typed in the address bar /sitemap_categories.html? -------> I got /index.php /sitemap_products.html ----------> I got index.php /sitemap_categories.php --------> index.php /sitemap_products.php -----------> index.php /index.html ------------------------> index.php So everything is redirected to index.php. The cart itself works as usual. here is the link http://www.apadirect.com/demo/index.php I have used the .htaccess file as indicated, but no sure if it is ok. Thanks for your time. Far <{POST_SNAPBACK}> That's how it should work *after* you comment the originally commented out redirect in the .js file. If you are still testing it and don't wanna be redirected make sure the redirect line in the .js is commented out like in the original archived file. Edited September 27, 2004 by dr_lucas Quote Did I help you? Click "Like" or "Thanks"! It's free of charge. :)My contributions:Total Configuration (newly updated 07/2018, for both osC 2.2 and 2.3.4.1 BS Frozen CE)User Tracking with Admin 1.0 (newly updated 07/2018)FedEx - Web Services v9, FAQ System , Who's Online Enhancement, Order Editor, MoneyBookers IPN, Ship in Cart (MS2), Admin Products Paging, Margin Report v1.00, 2Checkout INS / IPN (Instant Notification System) for MS2.2, Visitor Web Stats, Time Zone Offset - Adjust to match your location, Category Meta Tags Link to comment Share on other sites More sharing options...
dr_lucas Posted September 29, 2004 Author Share Posted September 29, 2004 The contribution suggest that it is needed to disable the "Prevent Spiders Sessions". I prefer to keep it enabled. Does anyobdy know if there is any problem or disadvantage in doing that while using the SEO Sitemap contribution? Quote Did I help you? Click "Like" or "Thanks"! It's free of charge. :)My contributions:Total Configuration (newly updated 07/2018, for both osC 2.2 and 2.3.4.1 BS Frozen CE)User Tracking with Admin 1.0 (newly updated 07/2018)FedEx - Web Services v9, FAQ System , Who's Online Enhancement, Order Editor, MoneyBookers IPN, Ship in Cart (MS2), Admin Products Paging, Margin Report v1.00, 2Checkout INS / IPN (Instant Notification System) for MS2.2, Visitor Web Stats, Time Zone Offset - Adjust to match your location, Category Meta Tags Link to comment Share on other sites More sharing options...
surplus Posted September 30, 2004 Share Posted September 30, 2004 I added the SEO sitemap contribution and have run into a problem mydomain.com now has 2 blue boxes and when I try to go to the urls with .html I get the same thing... The only way I can find my main page is to enter mydomain.com/index.php Any ideas? I have added the .htaccess redirect and made the changes in the sitemap.js file.... THanks for your help Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted November 10, 2004 Share Posted November 10, 2004 I'm try to get this work but I have little experience with .htaccess so it is hanging me up. I've installed and and it works through step 4 4. Visit both: http://www.yoursite.com/sitemap_categories.php http://www.yoursite.com/sitemap_products.php But I have no idea what Step 5 is telling meModify your .htaccess file to include the rewrite rules. You will probably need to modify the rewrite rule for the products to conform to your method of assigning product_id Can anyone explain what this means? If you could post a working file that would probably help. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted November 10, 2004 Share Posted November 10, 2004 mod_rewrite needs to be enabled on the server Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted November 10, 2004 Share Posted November 10, 2004 Ahh, thanks John. I contacted my host and asked them to change mod_rewrite, which they did. I also sent them this line from the instructions Make sure in httpd.conf AllowOverride All is in <Directory> for your websiteand asked if they could set that too. But they said they couldn't do it since it affects other customers and suggested I add it to the .htaccess file. So I tried it but I get an Internal Server Error message. Will it work do it this way? Can someone please take a look at my .htaccess file to see if it is setup correctly?<Directory /home/ptcandy/public_html/shop> AllowOverride All </Directory> RewriteEngine on Options +FollowSymlinks DirectoryIndex home.html home.php index.php index.html AddType application/x-httpd-php php php4 php3 html htm RewriteRule ^sitemap_categories.html$ sitemap_categories.php [L] RewriteRule ^sitemap_products.html$ sitemap_products.php [L] RewriteRule ^category_([1-9][0-9]*)_([1-9][0-9]*)_([1-9][0-9]*)_([1-9][0-9]*)_([1-9][0-9]*)_([1-9][0-9]*)\.html$ index.php?cPath=$1_$2_$3_$4_$5_$6 [L] RewriteRule ^category_([1-9][0-9]*)_([1-9][0-9]*)_([1-9][0-9]*)_([1-9][0-9]*)_([1-9][0-9]*)\.html$ index.php?cPath=$1_$2_$3_$4_$5 [L] RewriteRule ^category_([1-9][0-9]*)_([1-9][0-9]*)_([1-9][0-9]*)_([1-9][0-9]*)\.html$ index.php?cPath=$1_$2_$3_$4 [L] RewriteRule ^category_([1-9][0-9]*)_([1-9][0-9]*)_([1-9][0-9]*)\.html$ index.php?cPath=$1_$2_$3 [L] RewriteRule ^category_([1-9][0-9]*)_([1-9][0-9]*)\.html$ index.php?cPath=$1_$2 [L] RewriteRule ^category_([1-9][0-9]*)\.html$ index.php?cPath=$1 [L] RewriteRule ^product_([1-9][0-9]*)\.html$ product_info.php?&products_id=$1 [L] Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Jack_mcs Posted November 13, 2004 Share Posted November 13, 2004 OK, I've finally got this running. Turns out to be a problem with my host. Anyway, has anyone who has this installed ran their site through a spider testing site? The directions say to turn off Prevent Spider Session but when I test my site, the SID's are showing up. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Vince76 Posted November 22, 2004 Share Posted November 22, 2004 First of all if I were you guys I'd remove the JS redirect and the onmouseovers and make it a real sitemap.. Now my question, does anyone know how to get the sitemap products page to span pages? I use this contrib because saves me adding new products to the sitemap page but it will just timeout with too many products and needs the ability to span pages. Anyone got any ideas? Quote Link to comment Share on other sites More sharing options...
Guest Posted February 22, 2005 Share Posted February 22, 2005 Hopefully someone is still responding here. I am having a problem - I installed the contribution and most of it seems to be working. Except my index.html file doesn't seem to be right. I don't know what's wrong or how to fix it. Instead of getting an index.html file, I get something that tries to download (like an executable or something) then opens up in a browser as just 2 buttons with nothing much else there. I looked at the source code and there is still some php code floating around in it. Any ideas? You can see it at: http://www.ramktichen.com/cart/catalog/index.html Thanks, Mike Quote Link to comment Share on other sites More sharing options...
Guest Posted February 22, 2005 Share Posted February 22, 2005 Hopefully someone is still responding here. I am having a problem - I installed the contribution and most of it seems to be working. Except my index.html file doesn't seem to be right. I don't know what's wrong or how to fix it. Instead of getting an index.html file, I get something that tries to download (like an executable or something) then opens up in a browser as just 2 buttons with nothing much else there. I looked at the source code and there is still some php code floating around in it. Any ideas? You can see it at: http://www.ramktichen.com/cart/catalog/index.html Thanks, Mike <{POST_SNAPBACK}> Duh - I can't even type my own website right. http://www.ramkitchen.com/cart/catalog/index.html Thanks, Mike Quote Link to comment Share on other sites More sharing options...
Altec Posted February 22, 2005 Share Posted February 22, 2005 <?PHP// $Id: index.html,v 1.5 2003/09/16 09:14:42 Administrator Exp $ // ---------------------------------------------------------------------- // POST-NUKE Content Management System // Copyright © 2002 by the PostNuke Development Team. // http://www.postnuke.com/ // ---------------------------------------------------------------------- // Based on: // PHP-NUKE Web Portal System - http://phpnuke.org/ // Thatware - http://thatware.org/ // ---------------------------------------------------------------------- // LICENSE // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License (GPL) // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WIthOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // To read the license please visit http://www.gnu.org/copyleft/gpl.html // ---------------------------------------------------------------------- // Original Author of file: Hartmut K?nig ([email protected]) // Purpose of file: SEO // ---------------------------------------------------------------------- require('includes/application_top_sitemap.php'); include('includes/sitemap_includes.php'); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo SITEMAP_TITLE; ?></title> <meta name="Keywords" content="<?php echo SITEMAP_KEYWORDS; ?>"> <meta name="Description" content="<?php echo SITEMAP_DESCRIPTION; ?>"> <META NAME="coverage" CONTENT="Worldwide"> <META NAME="robots" CONTENT="index,follow"> <META NAME="country" CONTENT="<?php echo SITEMAP_COUNTRYCODE; ?>"> <META NAME="author" CONTENT="<?php echo SITEMAP_AUTHOR; ?>"> <META NAME="organization-Email" CONTENT="<?php echo SITEMAP_EMAIL; ?>"> <META NAME="copyright" CONTENT="<?php echo SITEMAP_COPYRIGHT; ?>"> <base href="<?php echo HTTP_SERVER . DIR_WS_HTTP_CATALOG; ?>"> <?PHP //-- All non-spiders will be redirected to true home page redirectBrowser(); ?> <style type="text/css"> <!-- H1 { font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10pt; color: #000000; } --> </style> </HEAD> <BODY> <h1> <a href="<?PHP echo SITEMAP_DOMAIN; ?>" onMouseOver="redirectBrowser()"><?PHP echo SITEMAP_TITLE; ?></a> <br><br> </h1> <a href="sitemap_products.html" onMouseOver="redirectBrowser()"> <img src="pixel.gif" width="10" height="12" alt="<?PHP echo SITEMAP_TITLE; ?>"><b><?PHP echo SITEMAP_TITLE; ?></b></a><br /> <a href="sitemap_categories.html" onMouseOver="redirectBrowser()"> <img src="pixel.gif" width="10" height="12" alt="<?PHP echo SITEMAP_DESCRIPTION; ?>"><b><?PHP echo SITEMAP_DESCRIPTION; ?></b></a><br /> <b><?php echo SITEMAP_KEYWORDS; ?></b><br /> <h1><?php echo SITEMAP_DESCRIPTION; ?></h1> <h1><?php echo SITEMAP_KEYWORDS; ?></h1> <a href="sitemap_categories.html"><?php echo SITEMAP_CATEGORYLIST; ?></a><br /> <a href="sitemap_products.html"><?php echo SITEMAP_PRODUCTLIST; ?></a><br /> <?php echo SITEMAP_LINKS; ?> </body> </HTML> here is a copy of a working index.html Quote Its not a computer its a life management system! Link to comment Share on other sites More sharing options...
Guest Posted February 22, 2005 Share Posted February 22, 2005 here is a copy of a working index.html <{POST_SNAPBACK}> Hmmm.....I tried this code for my index.html and it didn't do anything different. I still get a wierd index.html file showing up. Anybody have any ideas? Thanks, Mike Quote Link to comment Share on other sites More sharing options...
Redlining13 Posted March 31, 2005 Share Posted March 31, 2005 (edited) concerning google and its dislike for redirects... will the javascript redirect affect ranking in anyway? or raise the possibility of being penalized or worse banned? I know the question has been asked a few times, but i havent seen a definitive answer to this question. If so, then is there another option for creating a search engine friendly sitemap? Any insite would be appreciated Edited March 31, 2005 by Redlining13 Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 18, 2005 Share Posted April 18, 2005 I have installed this contribution many times and most times it works. But on some hosts, the two blue boxes mentioned by several others appear when index.html is accessed. From what I have been able to determine, it appears to be caused by the order the host has set for accessing files (index.html before index.php for example). I have not been able to find a way around this though. I've tried altering the .htaccess entry to account for this but it didn't help. Does anyone have any suggestions for solving this? Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted May 11, 2005 Share Posted May 11, 2005 I have installed this contribution many times and most times it works.... geez Jack...this contribution defines the term "cloaking" and you still use it for client sites? I thought we wear white hats around here? :) Bobby Quote Link to comment Share on other sites More sharing options...
Cattom Posted May 6, 2006 Share Posted May 6, 2006 Great contribution. I checked it by googlebot simulator: Visible text to web page size ratio: index.php - 7,4% against index.html - 47.22%. One question: Is it possible to add images derectory to SEO sitemap? Thank you. Quote Link to comment Share on other sites More sharing options...
tyro Posted March 8, 2007 Share Posted March 8, 2007 I'm having the same issues. Good luck finding answers in this forum. So far I've had to debug every contribution I've downloaded. If I get this fixed I'll post the results, but I'm ready to shit can this thing. Quote Link to comment Share on other sites More sharing options...
tyro Posted March 8, 2007 Share Posted March 8, 2007 Jackass! Quote Link to comment Share on other sites More sharing options...
tyro Posted March 8, 2007 Share Posted March 8, 2007 Hi guys i was having no problem with the sitemap_categories.html or sitemap_products.html viewing after install (they were 100% ok) But for index.html it wouldn't show correctly and include the sitemap_includes.php info i.e SITEMAP_DOMAIN etc (if it had worked correctly it would have included the SITEMAP_DOMAIN details etc without a problem) i have to change the index.html to home.php and change my htaccess file to include one more line : RewriteRule ^index.html$ home.php [L] i changed of course the index.html to name home.php before i edited the htaccess with the above line.(home.php was used to steer clear of conflicts lol) As stated before the sitemap_xxxxx.html was working 100% as per the instructions but the index.html just never worked for me :( doing the above actions rectified this and i hope that others might use this info to good use too :) WBR Nicky Duffy www.phantomgsm.com you can see the SEO Sitemap working at www.phantomgsm.com/index.html www.phantomgsm.com/sitemap_categories.html www.phantogsm.com/sitemap_products.html any questions > [email protected] pls mention this modification :) p.s i also had to modify the includes/configure.php with FILENAME_INDEX value (index.php) to make this work 100% Thanks but I've seen 404 errors before... Quote Link to comment Share on other sites More sharing options...
tyro Posted March 8, 2007 Share Posted March 8, 2007 I added the SEO sitemap contribution and have run into a problem mydomain.com now has 2 blue boxes and when I try to go to the urls with .html I get the same thing... The only way I can find my main page is to enter mydomain.com/index.php Any ideas? I have added the .htaccess redirect and made the changes in the sitemap.js file.... THanks for your help Having same problem. Good luck finding a solution here - just a lot of unanswered questions floating around! You would think the guy who wrote this would lend a hand. Quote Link to comment Share on other sites More sharing options...
tyro Posted March 8, 2007 Share Posted March 8, 2007 Duh - I can't even type my own website right. http://www.ramkitchen.com/cart/catalog/index.html Thanks, Mike If you replace AddType "application x-httpd-php php php4 php3 html htm" with "AddType x-httpd-php php php4 php3 html htm" you'll get rid of the download box, although I'm still having the issue of the index.html not rendering the php properly. Quote Link to comment Share on other sites More sharing options...
tyro Posted March 8, 2007 Share Posted March 8, 2007 I have installed this contribution many times and most times it works. But on some hosts, the two blue boxes mentioned by several others appear when index.html is accessed. From what I have been able to determine, it appears to be caused by the order the host has set for accessing files (index.html before index.php for example). I have not been able to find a way around this though. I've tried altering the .htaccess entry to account for this but it didn't help. Does anyone have any suggestions for solving this? Jack I'm having the same issues. Good luck finding answers in this forum. So far I've had to debug every contribution I've downloaded. If I get this fixed I'll post the results, but I'm ready to shit can this thing. Quote Link to comment Share on other sites More sharing options...
tyro Posted March 8, 2007 Share Posted March 8, 2007 Works! Good thinking. 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.