Looking to Build/Redesign a Website or Blog ?

To speak to Rakshit, call +91 968 704 2303

January 23, 2015

No Comments

Change Default Index Html php htaccess

[htaccess] How to change your default Index page

As a web developer, you will be well aware that default page under directory will be index.html. It is default assumption by any designer, developer or any web expert. But you might not aware that hosting provider sets default.html as default index page so whenever you open any url and if it has directory path, it will try to call default.html.

September 20, 2014

2 Comments

php-freelancer-india-php-developer-india

Force Download MP4 Audio/Video Files using PHP or .htaccess

For Membership Video Site, client is looking for Force Download feature for MP4 Audio/Video files. This feature is only for their registered users to download the video files directly to their PC. If you want to implement Force Download feature for MP4 Audio/Video files than it is possible by 2 ways. Force Download MP4 Audio/Video Files using PHP for individual files or Force Download MP4 Audio/Video Files using htaccess for all files.

September 20, 2014

No Comments

htaccess-tricks-tips

Force Download Image JPG/PNG/GIF Files using PHP Javascript or htaccess

I was working with premium image web site where client want a facility for their registered users to download the image files directly to their PC. You can do in 3 ways. Force Download Image JPG/PNG/GIF Files using PHP, Force Download Image JPG/PNG/GIF Files using Javascript and Force Download Image JPG/PNG/GIF Files with htaccess.

March 11, 2014

2 Comments

wordpress-freelancer-developer

[WordPress] how to Fix 404 Errors for Posts and Pages when moved to Live

WordPress create rewrite rules which are responsible for managing permalink (Pretty URLS) in .htaccess file automatically. so when you moved your site from one host to another or moving your WP site from your local server to live server, you might face 404 errors for all inner pages but your home page will works fine.

April 7, 2013

1 Comment

htaccess-tricks-tips

[.htaccess] Redirect Non WWW to WWW with SSL/HTTPS

I was working with one project where I implement facebook login application. I was looking site with www url and client was checking with non www url. All works fine for me and never worked for client. It was a irritating couple of hours time for me and client both when we were discussing.

April 7, 2013

1 Comment

htaccess-tricks-tips

[.htaccess] Redirect http to https using htaccess

I was working with one barter site. Client wants SSL for whole site. We installed it and all working fine with https. Redirect http to https using apache .htaccess rewrite rules.

December 9, 2012

No Comments

hire-codeigniter-developer-programmer

Remove index.php from URL in CodeIgniter

I am working with CodeIgniter Framework since last 3 months. I have worked on CakePHP and Zend Framework before. But when I setup CodeIgniter, I was trying to access it but I was not able. Later, I came to know, it is including index.php in url. I wrote a couple of lines in .htaccess to remove index.php from CodeIgniter.

March 14, 2012

2 Comments

htaccess-tricks-tips

URL file-access is disabled in the server configuration – failed to open stream

I was working with Google Map and I got warning message which says “Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration”. Also it shows me “[function.file-get-contents]: failed to open stream: no suitable wrapper could be found in GoogleMapAPI.class.php class”. If you are facing the same problem than I have couple of solutions for it. I hope one of them will works for you.

October 18, 2011

No Comments

htaccess-tricks-tips

Block Proxy Server via .htaccess

I was working for a website in which client is getting span emails and he want some solid solution to stop this. We have tried with Blocking IP Address using .htaccess but Hackers were using Proxy server. As a result, IP Address will change every time and previous solution did not work. Finally I wrote .htaccess code again for blocking proxy server.

October 18, 2011

No Comments

htaccess-tricks-tips

How to Block IP Address using .htaccess

Are you looking to block some IP address using .htaccess? If you are finding some IP address which you want to block and restrict access of your site, you can do the same using .htaccess. This is one of the good way to keep your site safe by blocking IP Address via .htaccess.