Posts Tagged ‘htaccess’

Page 1 of 212

How to redirect browser to https (ssl) in php

Most of the e-commerce website uses payment gateway for online payment. And, those sites uses SSL (secure socket layer) connection to transfer data to and from the payment gateway. Full story

Change default directory page using .htaccess

I know you guzy all know about index file. This is the default file which is executed in the web server. For example, if you type"http://roshanbh.com.np" in this the browser, the "index.php" gets loaded first. This "index.php" file is commonly know as directory index file. Full story
Tags: ,

5 useful url rewriting examples using .htaccess

If you are looking for the examples of URL rewriting then this post might be useful for you. In this post, I've given five useful examples of URL rewriting using .htacess. If you don't know something about url rewriting then please check my older post about url rewriting using .htaccess. Full story

Prevent Directory Listing using .htaccess

Prevent Directory Listing using .htaccess
What is directory listing ? As we know, most of the website contains "images" folder inside the root folder. If we type "www.somesite.com/images" in the browser and it shows the listing of the files in the browser like the picture below which means that directory listing is allowed on that web server. It's better not to show the files inside the directory of the web sever for the security purpose. Full story

Custom Error Page with .htaccess

In my last post of Hiding .php file extension with .htaccess Michael has mentioned that you can create your own custom page for the the 404(not found) error in server. And alex wanted to know that tip as well.Alex here is the post for you rather than replying your comment. Full story
Page 1 of 212
Copyright © 2014 Roshan Bhattarai's Blog. All rights reserved.
Powered by WordPress.org, Custom Theme and ComFi.com Calling Card Company.