Archive for PHP

2 Ways to Redirect URLs in PHP

May 3, 2010 | 0 Comments

The ability to redirect URLs in PHP can be very handy. A common use of redirects is when a page has become obsolete and you would like to redirect the user to a more current one. Affiliate marketers use URL redirection to point to their products. This way when the product they are marketing is [...]

Filed Under: PHP

Displaying the Number of Visits in a WordPress Blog Post

April 22, 2010 | 0 Comments

I thought it would be a good idea to show how many visits a blog post had since it was published. One of the web tracking tools I use is WordPress.com Stats, and it’s the easiest to get the page view count from. So after some googling I found the best way to do so [...]

Filed Under: PHP, WordPress

How to Create a Page For Your Tags in WordPress

November 26, 2009 | 0 Comments

To display all the tags in a blog in page a plugin that runs PHP code in pages should be installed. I prefer Exec-PHP (http://bluesome.net/post/2005/08/18/50/) because its easy to use (you just type the PHP code inclosed in <?PHP ?>), and has very good documentation. After installing the plugin create a new page and while [...]

Filed Under: PHP, WordPress