Friday, November 14, 2008

Remove the hyperlink from single post titles

Most blog templates present hyperlinks on the titles of single post pages. There is no reason to have an hyperlink on those titles, however, since they are pointing exactly to the current page. Secondly, the hyperlink might also cause some crawling problems for search engines, messing with the indexation of those pages.

Wordpress users can remove this hyperlink by going into the Theme Editor and looking for the single.php file. Inside that file look for the line that specifies the title on the single post pages, it should be something like this:

">

Once you find the line you will need to remove the parts that make the title an active link, which include the "> and tags. The final line should look like this:

If you still want to include an hyperlink to make it easier for people to copy the permalink you can place an icon near to the title, or a meta data below the post with the permalink information.

Seja o primeiro a comentar

ALL BLOGGERZ ARE BROTHERZ!! ©Red and White Blogger Template by Mr. Riouzy.

Send Your Email To: winditya@gmail.com