With our life’s constantly becoming more and more depended on electronic devices we have to device ways to keep everything in sync. Nowadays we have smartphone’s, tablets, laptops, netbooks, media centers and all of this devices keep copies of out data. Our word documents, pictures, expense estimations etc.
Up until very recently, and some of us still do, we move around with usb sticks portable usb hard drives and basically a copy of our digital life.
Redirect domain to subfolder
Last night I was looking for a way to redirect a domain (example.com) to example.com/folder but without actually redirecting the user to that folder.
So I thought that the best way to go about is actually treading every request as example.com/folder.
Anyway enough said here is the result.
1 2 3 4 5 6 7 8 # Redirect to a different folder # of the current domain that was requested <IfModule mod_rewrite.