Amazon FX SEO 27



Drupal is free to use.

Drupal is a popular web design and content management tool. The page description yous element about the meta-tags of the site. Tags help identify the content of the page to search engines and users. Filling out the meta-tag info helps to increase search engine optimization (SEO.) Editing the description is simple if tags maintain been enabled. If tags boast not been enabled, a user can insert some code to add the description.

Difficulty: Easy

Instructions

1 Log on to the server that hosts the Drupal-based internet site. Employ the method normally used to access the server such since FTP or cPanel.

2 Locate the "template.php," "page.tpl.php" and "page-the front.tpl.php"files. These files will be found in the index of the website on the server. Never every site will own all of these file, yet sites ought to have at smallest one of these files.

3 Open up the "template.php," "page.tpl.php" and "page-front.tpl.php" files in any plain text editor, similar as Notepad.

5 Open the "template.php" file inside a basic text editor. Add the subsequent lines of code to the document, if it previously does never contain this code:

"purpose phptemplate_preprocess(&$variables, $hook)

if ($hook == 'page')

unset($variables['mysite_pagedescription']);

$suffix1 ='Site Description';

if ($variables['is_front'])

$variables['mysite_pagedescription'] = $suffix1;

else

if ($node->body)

$tease = node_teaser($node->body);

$variables['mysite_pagedescription'] = check_plain(strip_tags($tease)). ' ' . $suffix1;

// Figure from if we are viewing any Category (taxonomy) page...

else if ($variables['template_files'][0] == 'page-taxonomy')

$phrase = taxonomy_get_term(arg(2));

$d = check_plain(strip_tags($term->description));

$variables['mysite_pagedescription'] = $d. '. ' . $suffix1;

"

6 Replace the words "Site Description" in the "$suffix1 ='Site Description';" series of code with the site's actual description. Save the transforms. The web site will now maintain some new page outline.

References

Webopius: The way in which to change a page meta description and keywords in Drupal 6 "Using Drupal;" Angela Byron, Addison Berry, Nathan Haug and Jeff Eaton; 2008 "Drupal For Dummies;" Lynn Beighley; 2009

Read Next: