Link To Full Story: 9lessons
In this post I want to explain " How to redirect the sub domain to a sub folder with .htaccess". I had implemented this for labs.9lessons.info and demos.9lessons.info. I hope it is useful for you. Example .htaccess code You have to replace your sub domain and sub folder name. RewriteEngine On RewriteCond %{HTTP_HOST} ^demos\.9lessons\.info$ RewriteCond %{REQUEST_URI} !^/demos/ RewriteRule (.*-
Home
Pages
Contributors
Links
Tags
.NET Articles Business Code Community Dev Domain Development Example facebook Form Freelance GAE Gallery/Carousel/Slider git github google Google Wave Google Wave Notifier Hiroki Miura hot links htaccess JavaScript john resig jQuery MIT License mozilla php podcast real time Ruby on Rails screencast Screencasts social Software & Tools Strategy templates terminal Tutorials TVR Uncategorized Validation video tutorial Websites WordPress WordPress Plugins Zend-Framework-
RSS Links
Post a Comment