Serving Virginia Newspapers
Since 1881

search engine optimization | VPA Wiki

Navigation

 ·   Wiki Home
 ·   Wiki Help
 ·   Categories
 ·   Title List
 ·   Uncategorized Pages
 ·   Random Page
 ·   Recent Changes
 ·   RSS
 ·   Atom
 ·   What Links Here

Active Members:

Search:

 

Create or Find Page:

 

View search engine optimization

Optimizing an ExpressionEngine site for search engines starts with a simple set of tags on the header file and in each individual template.

Let’s say the site has just one header used by all templates. First go to a template and view the embedded header tag. Add the variable below:

Change “Title of the Page” to the actual title. Do this for every template.

Now go to the header file and add this code:

<title>{embed:page_title}</title>

Save that page and view the results. You should see a new title on each page.

In order to add SEO keywords to a page, use this code on each template:

{embed="site/header" page_title="Title of the Page” meta_keywords="keywords" }

Change “keywords” to the actual keywords. Go to the header file and add this code below the title code:

<meta name="keywords" content="{embed:meta_keywords}" />

Save the file and view the results. Obviously, you can add both the title and the keywords to each template at the same time.

Mailing Address: Virginia Press Association, 11529 Nuckols Road, Glen Allen, VA 23059
Phone: (804) 521-7570 • Fax: (804) 521-7590 or (800) 849-8717

Copyright 2008 Virginia Press Association | RSS