How to redirect www to non-www and non-www to www URL using .htaccess...
Websites can be access with www and without www also. Since Search engines consider http://www.programmingfacts.com and http://programmingfacts.com different websites. It might be a case of duplicate...
View ArticleHow to remove index.php from url using .htaccess (mod_rewrite)
For better SEO optimization and make urls more search engine friendly , remove index.php from URL and make it easier to read. This can be done by writing only two lines in your .htaccess(mod_rewrite in...
View ArticleHow to restrict users from accessing files & directory level(Protect...
Today i faced a situation where i have to restrict or deny users from accessing files and folders of my web application directly by entering URL in browser which contain very important contents like...
View Article301 Redirect old dynamic URLs to new static URLs using .htaccess
Today i faced a situation where i need to redirect dynamic URL of my shopping cart to static url. I have changed the Dynamic URL(with query string , ? and &) to static one in my sunshop shopping...
View Article.htaccess is invisible – How to make it visible in FTP Program like CuteFTP ,...
As all we know that .htaccess is very popular for redirecting URLS and making SEO Friendly URLS. Using htaccess , your url looks like static url and most search engines can read your url very easily....
View ArticleHow to set PHP configuration(php.ini) values from .htaccess file
There might be situation where you need to change php configuration values when you work on server. In local apache server, you can easily change the php configuration values using php.ini file from...
View ArticleUpload large(Big) files in PHP using .htaccess
I have seen many developers who find difficulties when working with larger files upload in php. When files which are too large in size, needs to be uploaded by php than you have to change the default...
View ArticleRedirect one domain to another using .htaccess
Are you looking for redirecting your website from one domain to another ? I was working for client who has a domain in .com and now they want to move full website into .ie domain. The problem is that...
View Article