Guest Posted March 14, 2004 Posted March 14, 2004 My site is all ready to go, but all of the page titles say "oscommerce" and there is no keywords, page description, meta data, etc. Is there a way to change this easily? or must I go into every single page in the catalog and do it manually? Some kind of batch method perhaps? Thanks very much. Aaron
241 Posted March 14, 2004 Posted March 14, 2004 install the header tags controller contribution a link to the contributions section is in my signature No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Guest Posted March 14, 2004 Posted March 14, 2004 Thanks...I looked at that but is seems to only effect one page at a time. Am I not understanding it correctly? Thanks a lot. Aaron
Guest Posted March 15, 2004 Posted March 15, 2004 OK, I figured it out. To simply change your page title and meta tags for the entire site, I did this: 1) In catalog/includes/languages/english.php I changed the TITLE from "oscommerce" to "my title" 2) I downloaded all of the catalog/ html and php pages and backed them up on my computer 3) I opened bbedit lite (mac osx) and did a "find and replace" for the entire folder of pages with the following criteria: Find: <head> Replace with: <head> <?php include "includes/local/meta.html"; ?> 4) I created a file called "meta.html" with my description, keywords, etc. and placed it in catalog/includes/local/ Now when any page is loaded, it calls up the page title from english.php and meta info from meta.html Now anytime I want to change the meta tags, I simply alter meta.html and it will effect the entire site. The contribution mentioned in this thread sounds great if you want each product in your catalog to have its own title and meta info. It requires altering the database and moving alot of code though. Something I'll do later once my site is up and running. For now, the basics will do. Good Luck! Aaron
Guest Posted March 19, 2004 Posted March 19, 2004 Can you recoment such a text editor to use under Win XP?
Guest Posted March 25, 2004 Posted March 25, 2004 sfsurfcat - you rule!!! that's the easiest adjustment I've made! Thanks.
legris Posted April 1, 2004 Posted April 1, 2004 Can you recoment such a text editor to use under Win XP? I use EditPlus in WinXP http://www.editplus.com/
flagfanatics Posted April 2, 2004 Posted April 2, 2004 and seach engines will pick up these meta tags as if you added them by hand?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.