Latest News: (loading..)

boxtel

Members
  • Content count

    5,135
  • Joined

  • Last visited

About boxtel

Profile Information

  • Real Name
    amanda
  • Location
    Taipei, Taiwan
  • Interests
    I will perform customizations for you, PM me with your requirements and I will give you a quote.
  • Website
  1. clearing the cache comes to mind.
  2. you could fix that by using tep_get_prid() in the function that writes the seo urls for products
  3. yes, that "test" stuff is not very smart and not necessary. all parameters including valids like language and currency and session ids get lost. you could have just set: $location = tep_href_link(basename($_SERVER['SCRIPT_NAME']),'products_id='.$_GET['products_id'].tep_get_all_get_params(array('products_id','page','sort')), $request_type);
  4. well, and ofcourse if you do not prevent spider sessions and when the user agent is void. but the former should never have been an option and the latter is obvious.
  5. the enquiry of spiders.txt is only skipped if you force cookies.
  6. steve, eventhough that contrib works flawlessly, it has one crucial limitation: RewriteCond %{HTTP_USER_AGENT} !(msnbot|slurp|googlebot) [NC] this implies that you need to add every spider known to mankind to this line, basically what you have been doing with spiders.txt. so why not re-use spiders.txt for that as realized in chemo's php version of this: if ( $spider_flag == true ){ if ( eregi(tep_session_name(), $_SERVER['REQUEST_URI']) ){ $location = tep_href_link(basename($_SERVER['SCRIPT_NAME']), tep_get_all_get_params(array(tep_session_name())), 'NONSSL', false); header("HTTP/1.0 301 Moved Permanently"); header("Location: $location"); // redirect...bye bye } } to be used in application_top.php after spider identification and in the event of seo url's after the inclusion of that class.
  7. well, in FF it shows after some delay and then flickers twice and in IE7 nothing ever shows at all as it produces a runtime error, the same applies to the shopping cart box by the way.
  8. well, it is not a bad idea to make those semi-static pages also "a little" more seo friendly if you will. You can use your keywords in the name just like seo url's does. That was a tip from Monika not so long ago. so you could make them: mainkeyword-special-offers.html storename-sitemap.html all-mainkeyword1-and-mainkeyword2-products-at-storename.html so all you would have to do is change the filenames. something like that.
  9. well, I do not know what that contribution does, I never cared much for html validation. Always seems to me like a rainy sunday afternoon homework excercise for people who want that little extra credit from their teachers or who have nothing to do. I always look to add value to the clients first. If they can prove that "validated html" actually adds value to my customers other than the business-wise irrelevant slogan "valid html" on my website, then I might consider it. I have not seen such evidence. But tep_href_link() in html_output.php would be a good place to start.
  10. well, like I said, I am not sure if the latest versions of seo url's already redirects old seo url's to new seo url's or whether it only redirects non-seo url's to seo url's. Maybe someone who uses those versions can say so I do not have to dig in that code to find out.
  11. you cannot add multiple occurrences of the same product to the cart as the cart's contents array uses the products_id as key. That is why the products_id for attributes is messed with to keep it unique for different attributes. So either follow the attribute trail or you would have to rewrite much in that class.
  12. I would look at that valid xhtml contrib first as I assume that is turning the url parameter separators into &. always correct things at the core iso trying to "fix" the resulting symptoms elsewhere.
  13. you have to come in as a spider as you would only do this for spiders. It basically is only an se index issue so there is no need to do the extra code execution for users. so use FF, disable cookies, set the useragent to a known spider and then the magic happens...
  14. that error generally happens if you redirect to the same page, i.e. in an endless loop.
  15. those are already semi-static pages in that they do not take parameters so there is no need for that. just rename all_products.php to All-of-my-products-are-to-be-seen-here.html