Kasketkarl.nu Posted October 7, 2010 Posted October 7, 2010 My titles is like this right now: [subtitle name] [Product name that i choose from admin] [l Møbelarkitekten Aps] Is it possible for you to find how, it's calling the [subtitle name] I dont want that, i only want the product name; code from index.php: --------------------------- } //get current category tags when a category is selected $cat_tags_query = tep_db_query("SELECT categories_name, title_tag, desc_tag, keywords_tag FROM " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . (int)$current_category_id . "' AND language_id = '" . (int)$languages_id . "'"); $cat_tags = tep_db_fetch_array($cat_tags_query); $categories_name = $cat_tags['categories_name']; $title_tag = $cat_tags['title_tag']; $desc_tag = $cat_tags['desc_tag']; $keywords_tag = $cat_tags['keywords_tag']; //set default $kws_home_default = $categories_name; $desc_home_default = $categories_name; $title_home_default = $categories_name; } else { //no category is selected: randomly select category names as keywords $cat_names_query = tep_db_query("SELECT categories_name FROM " . TABLE_CATEGORIES_DESCRIPTION . " WHERE language_id = '" . (int)$languages_id . "'" . " ORDER BY RAND()"); $kws_home_default = ""; $num_rows = tep_db_num_rows($cat_names_query); if ($num_rows > 20){ $i = rand(1,$num_rows); for ($count = $i; $count < $i + 20; $count++) { $cat_names = tep_db_fetch_array($cat_names_query); $kws_home_default .= $cat_names['categories_name'] . ', '; } } else { while ($cat_names = tep_db_fetch_array($cat_names_query)){ $kws_home_default .= $cat_names['categories_name'] . ', '; } } -------------- Code from Product_info.php ( that are showing the title ) <title><?php echo $header_tags[title_tag]; ?> | Møbelarkitekten Aps</title> How do you delete so, the subcategory name is not showing: Before: Chair Arne Jacobsen Stol ] Møbelarkitekten Aps I only wants this: After: Arne Jacobsen Stol ] Møbelarkitekten Aps can you find the line, and delete it?
♥FWR Media Posted October 7, 2010 Posted October 7, 2010 My titles is like this right now: [subtitle name] [Product name that i choose from admin] [l Møbelarkitekten Aps] Is it possible for you to find how, it's calling the [subtitle name] I dont want that, i only want the product name; code from index.php: --------------------------- } //get current category tags when a category is selected $cat_tags_query = tep_db_query("SELECT categories_name, title_tag, desc_tag, keywords_tag FROM " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . (int)$current_category_id . "' AND language_id = '" . (int)$languages_id . "'"); $cat_tags = tep_db_fetch_array($cat_tags_query); $categories_name = $cat_tags['categories_name']; $title_tag = $cat_tags['title_tag']; $desc_tag = $cat_tags['desc_tag']; $keywords_tag = $cat_tags['keywords_tag']; //set default $kws_home_default = $categories_name; $desc_home_default = $categories_name; $title_home_default = $categories_name; } else { //no category is selected: randomly select category names as keywords $cat_names_query = tep_db_query("SELECT categories_name FROM " . TABLE_CATEGORIES_DESCRIPTION . " WHERE language_id = '" . (int)$languages_id . "'" . " ORDER BY RAND()"); $kws_home_default = ""; $num_rows = tep_db_num_rows($cat_names_query); if ($num_rows > 20){ $i = rand(1,$num_rows); for ($count = $i; $count < $i + 20; $count++) { $cat_names = tep_db_fetch_array($cat_names_query); $kws_home_default .= $cat_names['categories_name'] . ', '; } } else { while ($cat_names = tep_db_fetch_array($cat_names_query)){ $kws_home_default .= $cat_names['categories_name'] . ', '; } } -------------- Code from Product_info.php ( that are showing the title ) <title><?php echo $header_tags[title_tag]; ?> | Møbelarkitekten Aps</title> How do you delete so, the subcategory name is not showing: Before: Chair Arne Jacobsen Stol ] Møbelarkitekten Aps I only wants this: After: Arne Jacobsen Stol ] Møbelarkitekten Aps can you find the line, and delete it? You need the header tags seo support topic not here in general support. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
Kasketkarl.nu Posted October 7, 2010 Author Posted October 7, 2010 You need the header tags seo support topic not here in general support. This plugin was a old one.. 5 years ago, better here
germ Posted October 7, 2010 Posted October 7, 2010 If you rename your admin folder you shouldn't "disallow" it in your robots.txt file Only the "good" bots obey what's in there. On the other hand, the "bad" bots and hackers go straight for what you tell them to stay away from. A renamed admin shouldn't be mentioned at all in the robots.txt file. Just my two cents.... :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.