FixItPete Posted October 18, 2005 Posted October 18, 2005 Where is the search result page title located? Thought it would be in a header_tag.php file... but it isn't there... or at least I'm not seeing it. Thanks for the tip, Pete I find the fun in everything.
Wendy James Posted October 18, 2005 Posted October 18, 2005 If you are using the header tags contribution you should be able to add the search results page through your admin area and set all the title and meta tags there. You may also want to be sure your catalog/includes/languages/english.php (and any other language you may be using) has your store title defined as your store name. define('TITLE', 'Your Store'); Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
FixItPete Posted October 18, 2005 Author Posted October 18, 2005 If you are using the header tags contribution you should be able to add the search results page through your admin area and set all the title and meta tags there. You may also want to be sure your catalog/includes/languages/english.php (and any other language you may be using) has your store title defined as your store name. define('TITLE', 'Your Store'); Wendy, Thanks for the quick reply... I think I've checked al of that. Try it yourself. Go to: http://www.thebestcandles.com/advanced_sea...ds=love&x=0&y=0 That link was arrived at by entering in the word "love" in the search box. Now... look at the title for that page (top left of browser)... it says osCommerce. Everything else on the site says "The Best Candles" -- but not that one page. Any ideas? Thanks again, Pete I find the fun in everything.
Jack_mcs Posted October 19, 2005 Posted October 19, 2005 It looks like all of the changes for the index.php file were not made. Jack 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
Wendy James Posted October 19, 2005 Posted October 19, 2005 I suggest looking at your advanced_search_result.php code and be sure you have the header tags code on it. Doesn't seem to be there, there are no meta tags being added to the page either. If the code is not there, nothing you do to the header tags will effect the page. index.php seems to be fine Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
FixItPete Posted October 19, 2005 Author Posted October 19, 2005 Around line 132-137 I found this code: <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <title>don't remember what was here</title> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> See the part where it says "don't remember what was here" - I put my page title in there, and it works. I know this isn't the right way to do it, but it fixed the problem. I have NO idea where the variable that was there is called. Thanks Wendy for the help! :) Pete I find the fun in everything.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.