This is how to do a 301 redirect if you want to divert traffic from one domain to another.
It is best to use a 301 redirect which is a permanent redirect code.
Edit your httpd.conf file which should be located /etc/httpd/conf/httpd.conf
Then just add this code to the end of the file (don't forget to change the domains to your own!)
<VirtualHost *:80>
ServerName www.domaintoredirect.com
ServerAlias domaintoredirect.com
RewriteEngine on
RewriteRule ^/(.*) http://www.DomainToPointTo.net/$1 [L,R=301]
</VirtualHost>
Don't forget to restart the web server
/etc/init.d/httpd restart
Job done! Your domain should now be redirecting.
Friday, 27 September 2013
Thursday, 19 September 2013
IFTTT update: New Google Calendar Trigger
There’s a new Trigger available for the Google Calendar Channel. Every time a new event is added to your Calendar, the Trigger picks it up. Give it a shot!
Thursday, 5 September 2013
IFTTT update: Introducing the SmartThings Channel
Unlock a new world of possibilities for the everyday objects in your life.
The SmartThings Channel lets you seamlessly integrate all types of innovative sensors and devices with your favorite online services. Here are just a few of the many things you can do with SmartThings Recipes:
Subscribe to:
Posts (Atom)