Monthly Archives: June 2010
How to do custom redirection of a website
Usually the redirection needs when a website changed/move to different location though it may use for lots of other purposes. In this post, I have explain how you can do it by using .htaccess Say, your site has lots of URL and you want to redirect some of those which query string has a parameter…
Change file extension in URL
In my previous article I have shown how you can use different extension of a file instead of .php explicitly but in this post I have explain how to rewrite the URL instead of renaming the file extension explicitly. To rewrite the URL you must add following lines in a .htaccess file and place it…
Hide the fact that the web pages are written in PHP
Sometimes you may want to hide the fact of your web site’s written language to visitors then you can do it easily by using .htaccess Say, you have developed your site by using PHP and wanted to show it as ASP then you can do it by using following tricks: Just add following line in…