Hosting PHP 

How to redirect / rewrite urls using .htaccess file

What is .htaccess? The .htaccess (Hypertext Access) file is an Apache distributed server configuration file. You can use the .htaccess file to set server configurations for a specific directory. .htaccess file is created in order to enable extra features for that subdirectory. Creating .htaccess: we have to create .htaccess in the application root path. But if you want only for a specific subpath then you can create in subpath too. Note: While adding urls, please replace all the example.com domains with your specific domain. Redirecting all URLs: The following line…

Read More
Hosting Windows Windows Server 

How to redirect HTTP to HTTPS URL in Windows server

Step1: Goto Windows Server and open IIS(internet information service) and select the site to which you want the HTTP URL to be redirected to HTTPS URL. Step2: Then in Management Section of the Site selected, find “web platform installer” and double click to open, here search for “URL rewrite” keyword after listing that install that to you server IIS. Note: If, after installing URL rewrite didn’t appear under IIS, please close and reopen the IIS, it will list under IIS tab. From here you can implement in to ways, Either you…

Read More