Posts Tagged ‘How to’
How to redirect IP addresses to different page
If you would like to redirect browsers based on their IP the following method can be used to handle multiple IP’s. You can choose to redirect entire networks or a single ip. Its working well. Done …!
How to automated backups your database ?
Here is a php script that will create a compressed backup of your website files, creating a different file each day for a month (then start over) so you have 30 days of backups. It will email you with a backup confirmation. Run it every night using cron to kick it off. You should download [...]
PHP: Ban or allow IP Addresses
While a .htaccess file can be used to ban or allow, it cannot be selective by function. This is something you can easily do with a script. In these examples the IP Addresses are in a file called IP.dat (in the same directory as the script) with one address per line. These scripts can also [...]
Using .htaccess to rewrite your URL
If you want your website to have friendly URLs you can use this .htaccess code. With this example code, the URL http://www.w3code.net/about would cause the page about.html to load. RewriteEngine On RewriteCond %{REQUEST_URI} !\. RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html [L] With the above example, if there is no dot in the requested name (this [...]
How to convert WordPress to Blogger ?
Blogger is getting better and there could be bloggers wanting to import and convert their WordPress blog to Blogger blog. WordPress has in-built feature (under ‘tools’ tab) to import any Blogger blog. However, reverse conversion of WordPress blog to Blogger blog is not supported. Well, not anymore – you can convert your WordPress blog to [...]
How to import /export xml file Blogger ?
Long back in June Blogger introduced Blogger import / export feature along with loads of other new Blogger features. Import – export feature just got better and now support very large blogger blogs. HOW TO IMPORT / EXPORT BLOGGER BLOG? Instead of using www.blogger.com, use draft.blogger.com and sign into your blogger account. Then click on [...]
Fix Unable to create directory with WordPress
I’m having issues uploading images to to a post. I keep getting the following error: Unable to create directory /var/www/vhosts/domain.com/httpdocs/wp-content/uploads/2008/05. Is its parent directory writable by the server? 1. Firstly, on my test install, file uploads wouldn’t work and I got the “HTTP Error”. This was fixed with the addition to the .htaccess (in the [...]
How to Create Zoom Photo in your Blogger ?
Zoom Your Images In Blogger Posts is the script you would have seen in many websites to show of there image demos as large one as its very nice way to show there images and templaes.Today i will tell you how to install this script in your blog so as the images in your post [...]
How to add multi language translator in Blogger ?
Here’s the code you can add to create the flag buttons (above) to translate your blog into different languages, depending on which country flag the visitors click. Simply copy all the code below and paste them into a widget (Test a Page Element) and all the 9 flag buttons will appear. <form action=”http://www.google.com/translate”> <script language=”JavaScript”> [...]
Adsense block IP to avoid the invalid clicks.
When my adsense was disable, i very sad for this…, I try thing whats the problem due to my adsense account disable ? I cant understand whats the reason make my adsense disable. Today i want to introdue to everybody known, the ways to avoid invalid clicks from yourseft, your wife, or your children… Go [...]




2_03.gif)
1_03.gif)