Servers Archives - Ian Carnaghan

How to redirect your whole website using 301 redirect within the .htaccess file

In your Document root open the .htaccess file if present otherwise create a .htaccess file Once the file is open edit the contents of the...

Mar 22 · 13 sec read >

How to Ban an IP Address using .htaccess

If you do not want a certain person/IP Address to access your website you can add the following code...

Mar 22 · 12 sec read >

How to create a 301 redirect to redirect a non www URL to a www URL using the .htaccess file

Create a .htaccess file within your web directory where all your website files are located Add the following code to it...

Mar 22 · 16 sec read >

How to force your website to use https instead of http via the .htaccess file

Did you recently install a SSL Certificate for your domain and need to force access to your website via https instead of http? This...

Mar 22 · 15 sec read >

How to setup PostgreSQL on WAMP server

Ensure that PostgreSQL has been installed on your machine. The Windows installers can be downloaded from http://www.postgresql.org/download/windows/ Assuming WAMP Server is installed on c:\wamp, copy C:\wamp\bin\php\php5.4.3\libpq.dll to C:\wamp\bin\apache\apache2.4.2\bin\libpq.dll Also see that the following files exist...

Mar 22 · 19 sec read >