In the first section of this chapterAdd meta information, you saw that search engines use the page title as one of their criteria for ranking a page and matching search queries to that page. You also saw that you enter the page title for a product page. This makes every product page's title unique.
Sometimes, you might want every page in your site to have some common text in its title. For example, you might want every page to have the name of your store. This is especially true when common text is a search term for which you want every page to be shown.
In our demonstration store, we might want "Online Coffee Store" to be added to every page's title. This is a common search phrase that could apply to every page.
You can add a prefix, a suffix, or both to every page's title. The prefix will be added in front of the page title, and the suffix will be added to the end of the page title. In the following screenshot, Blue Mountain Coffee is the name of the page. Online Coffee Store is a suffix that gets added to the title of every page on the site:
2. Select System | Configuration. The Configuration page displays.
3. From the General section, select Design. The Design page displays.
4. Scroll down to the section for HTML Head.
5. Enter the prefix or suffix into the field for Title Prefix or Title Suffix.
6. Click on the Save Config button.
Let's take a look at the HTML code for this page. When we view the source code, we see that the suffix has been added to the "title" text:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title> Blue Mountain Coffee Online Coffee Store</title>
Under Configuration | General | Design, scroll further down the page, and you will see a field labeled Miscellaneous HTML. This is HTML code that is added to the end of every page in your store.
However, remember that the code doesn't need to be permanent. For example, in our online coffee store, we could put a coffee-related quote in this field, and change the quote whenever we wanted a fresh one. We could add links to websites for coffee lovers. You can add any HTML code here, if you think it will enhance your pages' search engine performance or just add value for your visitors.