Loading....

Category: How To

Codeigniter tips how to make url seo friendly

Hello everyone, welcome to my today’s post on “How to make URL SEO friendly in CodeIgniter”. I’ve a good news for you that from today I’m going to start a new tutorial session on codeigniter. I’ll post useful and effective tips on CodeIgniter regularly that will help you to built an efficient CodeIgniter(CI) application. So, […]

How to get header footer and sidebar in wordpress

How to get header footer and sidebar in wordpress

Hello friends, today I’m going to share 3 basic WordPress function about how to load header, footer and sidebar in your WordPress theme. Each WordPress theme contain 3 common files for header(header.php), footer(footer.php) and sidebar(sidebar.php). To load that files WordPress have 3 dedicated functions. Here they go- – Load header: Header section contains basic elements […]

How to redirect mobile devices using htaccess

How to redirect mobile devices using htaccess

It’s a very simple tricks to redirect visitors in your mobile supported website. This simple htaccess snippet can detect browser agent and redirect it to your mobile website if they come from any mobile/table device. Have a fun with this script. Enjoy!   RewriteEngine On RewriteCond %{REQUEST_URI} !^/m/.*$ RewriteCond %{HTTP_ACCEPT} “text/vnd.wap.wml|application/vnd.wap.xhtml+xml” [NC,OR] RewriteCond %{HTTP_USER_AGENT} “acs|alav|alca|amoi|audi|aste|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-” […]

Back To Top