Tips & Tricks
Disable caching of your site or post
I talked about Disabling search engine on search pages in a previous post using the meta tag
. Today lets go over the web bots Cached copy of your site. If you are working on builder your blog, or have a temporary site up, use the following code:
<meta name="robots" content="noarchive">
This will tell any bot to follow your site, index it, but prevents a cached copy of this page from being available in the search results.
Tips & Tricks
Disable search engine on search pages
A good idea when trying to get the most out of your blog is usging the meta tag to tell the web bots to search & index your site. But for good SEO you should apply this code in your header.php
file of your WordPress blog.
<?php if(is_search()) { ?> <meta name="robots" content="noindex, nofollow" /> <?php }?>
This will keep your site from getting a hit from bots over duplicate entries. 🙂
Tips & Tricks
Run PHP5 on your PHP4 Server
Here is a really neat trick! Access your PHP5 while running PHP4.
If you haven’t created a .htaccess
file, you may want to check out the WordPress Codex on permalink structure.
Anyway, open any text editing document and paste in this code:
AddType x-mapp-php5 .php
That’ it! Save your text document as .htaccess
and your server should parse all .php
files as PHP5
Tips & Tricks
Flip! A jQuery plugin
I just came across a interesting new plugin built on the wonderful jQuery library. It’s called Flip!, head on over and check out the cool demo!
-
Tips & Tricks2 months ago
WordPress Security Hacks
-
Pages4 months ago
Write For Us – Guest Post
-
Showcase5 months ago
StylizedWeb.com
-
News4 months ago
How to: Show/Hide any div box with jQuery in WordPress
-
Tips & Tricks4 months ago
Remove the title attribute using jQuery
-
Tips & Tricks4 weeks ago
How to: show/hide a widget in WordPress with jQuery
-
Plugins3 weeks ago
Top Membership plugins
-
Guest Post3 weeks ago
The Top 10 Best Free Android Retro Games of all time
You must be logged in to post a comment Login