Servers

How to redirect your whole website using 301 redirect…

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 file and add the following...
Ian Carnaghan
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 to your .htaccess file  order...
Ian Carnaghan
12 sec read

How to create a 301 redirect to redirect a…

Create a .htaccess file within your web directory where all your website files are located Add the following code to it RewriteEngine On RewriteCond %{HTTP_HOST} ^yourdomain.com$...
Ian Carnaghan
16 sec read

How to force your website to use https instead…

Did you recently install a SSL Certificate for your domain and need to force access to your website via https instead of http? This can be done using the mod_rewrite Module...
Ian Carnaghan
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 C:\wamp\bin\php\php5.4.3\ext\php_pgsql.dll C:\wamp\bin\php\php5.4.3\ext\php_pdo_pgsql.dll The above two...
Ian Carnaghan
19 sec read