
ross
Staff
/ Moderator

May 30, 2005, 9:34 AM
Post #2 of 8
(8442 views)
Shortcut
|
|
Re: [usadruglist] Search engine cannot find my web pages
[In reply to]
|
Can't Post
|
|
Hi there. While I am not an expert on SEO, I have found that having meta titles and meta descriptions definitely helps search engines to find your pages. I have also seen many sites increase the numbers that they have in the filenames they want to be indexed (ex: article_000001.shtml instead of article_1.shtml). Of course, if anyone else had any tips or tricks on how to improve search engine we would all be very interested . In this post I’ll go over how to add the meta title and description tags to each of your articles as well as have your articles start using more numbers in their names. First, you'll need to create new database fields for keywords and descriptions. This can be done from in Setup Options in the Article Fields section. Select a couple unused fields, fill out their names appropriately, select textfield as their type, hit the enabled checkbox and hit the save button. Now, whenever you are in the Article Editor, these two fields will show up and let your writers add meta content for each article. You'll probably want to create a few test articles with values in the new fields you just setup. That will give us some data to work with in the next step. The next step will be to add placeholders to your article template so that each article reads the data from your two new fields. To do that, all you need to do is open up your article templates (/templates/article/default.html) and add the following code to the head section:
<meta name="keywords" content="$art_field7$"> <meta name="description" content="$art_field8$"> The only thing you may need to change is which field number is called. You'll need to match up the $art_field7$ and $art_field8$ with how you setup your database in the first step. Once you add this to the template, you'll need to republish your articles but then that's it. You're done :). And to have your articles use more numbers, open up the article.dat file in your data folder. The first two lines should look something like this: The #0 tells Article Manager what the last article number used was. In my example, the last article was number zero, so the next one will be number 1. If you change yours to:
#!C:\Perl\bin\perl.exe #111111 The next article will be come 111112. Just remember to save an re-upload the file and your are done. Does this all make sense? Could you give it a shot and let me know how you make out? ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting: http://www.interactivetools.com/consulting/
|