Customizing Title Tags in Wordpress Without Using a Plug-in - Title tag codes in Header.php
(Page 2 of 4 )
As a brief background for those that are beginners to any modern website publishing platform, there are two major types of websites:
Static websites
Dynamically-driven websites
Static websites are sites that do not rely on a database to display and update information. They use simple HTML codes taught in basic web programming classes. Static websites are not popular nowadays due to constraints in their design, flexibility and speed.
Dynamically-driven websites rely on databases (such as MySQL in Wordpress) and computer scripting languages such as PHP or ASP. PHP is open source; it is the scripting language used by Wordpress. Note that, since Wordpress is written in PHP, it will work only on Linux-based web servers.
The way it works is simple. You have a “template.” It is only one file but all of the pages in your website are patterned through this template, so it commands everything, including title tags.
A title tag in HTML is written like so:
<head>
<title>This is the title tag</title>
</head>
Now in Wordpress, the title tag can be edited in a file called header.php. You will locate this in the admin panel of your Wordpress site.
To locate the Header.php in the Admin panel, take the following steps:
Go to the Wordpress “Dashboard.”
Go to “Presentation” (in WP 2.3.1) or “Design” (in WP 2.5.1).
Click “Theme editor.”
On the template files on your right, look for “header.”
This is the header.php file.
Note that this is in a .php file because Wordpress is dynamically driven by this file, and all of the title tags of your website pages will depend on the title tag script in this file.
You can modify the title tags without the need of an FTP or any server access as long as you are the admin of your site and you have the right to edit this file. You can just update the file in your Wordpress admin panel.
Next: The default Wordpress installation title tag script >>
More Blog Help Articles
More By Codex-M