Jump to content

Touffy

Members
  • Content count

    6
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    CA
  • Location
    Albufeira
  • Website
  1. Not Magic Seo Urls but Ultimate SEO url (old version).
  2. And www.com/-p-152.html to www.com/french-exemple-p-152.html ? thanks
  3. Hi Robot, Your contrib seems really great but I have a question : I have a Url rewriting contrib and all my url are (normally) different for each languages of my website : For exemple : A product is www.com/english-exemple-p-152.html or www.com/french-exemple-p-152.html Since few weeks, for some pages, Google takes this URL : www.com/p-152.html or www.com/english-exemple-p-152.html for the french page. I want to have a solution to inform Google than the canonical URL of a page is www.com/french-exemple-p-152.html (for the french pages instead of www.com/english-exemple-p-152.html when Goole index the wrong url) or www.com/french-exemple-p-152.html when Google index a wrong url like www.com/p-152.html. About the languages : I'll open different websites for each language so I finally need more a solution to "clean" the google index a give him, fro each dynamical page, the url I made (URL from the data base). May your contrib do that ?
  4. Touffy

    Article Manager v1.0

    In application_top.php, change this : // add the articles name to the breadcrumb trail if (isset($HTTP_GET_VARS['articles_id'])) { $article_query = tep_db_query("select articles_name from " . TABLE_ARTICLES_DESCRIPTION . " where articles_id = '" . (int)$HTTP_GET_VARS['articles_id'] . "'"); if (tep_db_num_rows($article_query)) { $article = tep_db_fetch_array($article_query); if (isset($HTTP_GET_VARS['authors_id'])) { $breadcrumb->add($article['articles_name'], tep_href_link(FILENAME_ARTICLE_INFO, 'authors_id=' . $HTTP_GET_VARS['authors_id'] . '&articles_id=' . $HTTP_GET_VARS['articles_id'])); } else { $breadcrumb->add($article['articles_name'], tep_href_link(FILENAME_ARTICLE_INFO, 'tPath=' . $tPath . '&articles_id=' . $HTTP_GET_VARS['articles_id'])); } } } By this : // add the articles name to the breadcrumb trail if (isset($HTTP_GET_VARS['articles_id'])) { $article_query = tep_db_query("select articles_name from " . TABLE_ARTICLES_DESCRIPTION . " where articles_id = '" . (int)$HTTP_GET_VARS['articles_id'] . "' and language_id = '" . (int)$languages_id . "'"); if (tep_db_num_rows($article_query)) { $article = tep_db_fetch_array($article_query); if (isset($HTTP_GET_VARS['authors_id'])) { $breadcrumb->add($article['articles_name'], tep_href_link(FILENAME_ARTICLE_INFO, 'authors_id=' . $HTTP_GET_VARS['authors_id'] . '&articles_id=' . $HTTP_GET_VARS['articles_id'])); } else { $breadcrumb->add($article['articles_name'], tep_href_link(FILENAME_ARTICLE_INFO, 'tPath=' . $tPath . '&articles_id=' . $HTTP_GET_VARS['articles_id'])); } } }
×