| |
|
|
| |
news and events |
| |
| 2012-02-05
Broadband stays at 256kbpsThe Dept of Communications isn't talking about the revision of the meaning of broadband in SA assistant director-general Themba Phiri recently reported in an interview. |
|
|
| |
| 2012-02-02
Top of the bad service chartTelkom continues to top the list of beefs from 'companies who don't respond' on the preferred shopper internet site HelloPeter. |
| |
client comments |
| |
"Thanks, we checked out the site this weekend [and] we are really stoked! It really is what we are looking for..."
|
|
| |
"I like what you have come up with and I think it's wonderful..."
|
| |
latest articles |
| |
2011-12-29
5 Search Engine Optimisation MisconceptionsWhile many webmasters and companies are starting to understand Search Engine Optimisation, there are still a large number of misconceptions about how SEO works, and how the Search Engines trawl web pages. Follow our 5 tips here so you can avoid common mistakes!
|
|
| |
2011-12-02
SEO and Social Media - A Match Made in Online HeavenSocial media marketing plays an important role in improving your website traffic as well as your company's reputation online. Used with a solid SEO strategy, social media can be an extremely powerful tool that contributes to improved results across the board.
|
| |
We Accept:
 |
|
SEO Tips Using PHP
2008-04-06
In web development, often some of the small things tend to get overlooked in SEO. One easy way to fix this in websites run by content management systems (CMS) written in PHP is to use the data it provides to further enhances your SEO. In this brief tutorial we'll explore a few key methods that can help you increase your rankings effectively.
Obviously most CMS systems, or even custom sites written in PHP will usually use it to dynamically create the site's title tag. However, don't forget about the meta tags for descriptions and keywords. If you're not using the information in your database to create accurate meta tags, you're wasting some of the available SEO that you could be taking advantage of. For example, changing code like this: <title><?PHP echo $article->article_title();?></title> to something like this: <title><?PHP echo $article->article_title();?></title> <meta name=”Keywords” content=”<?PHP echo $article->article_tags(',');?>”> <meta name=”Description” content=”<?PHP echo $article->article_desc(255);?>”> To continue in this line of thinking, you could add this alt tag to images in your document: <img src=”border-canada.png” /> to this, which will give the image alt tags based off it's tags: <img src=”border-canada.png” alt=”<?PHP echo $article->article_tags(',');?>” /> Here's something aimed at a more advanced web development coder. This applies to site's that have a members system. Essentially the principal is to hide the irrelevant guest information (such as login forms, forgot password pages, as well as header or sidebar content that only applies to humans.) Now you don't want to selectively give the bots one thing and a human another to an extreme, as you can be penalized for this, so this technique should only be used in good taste and to benefit the end user. Information such as a user's post count or join date are not relevant to your potential visitor's search, so why include it?
The technique to hide this information will vary from CMS to CMS, but the principal is the same. Detect whether a bot is viewing the page, and if so, conditionally exclude content that you do not want to load.
So there's a few ways you can use PHP to your advantage to gain extra search engine optimization on your web development projects.
View other articles in the Web Development category.
View other articles in the PHP sub-category. |