How to avoid duplicate content mapping urls with htaccess
问题 I'm kind of new to writing htaccess rules. I want to make the urls in my website as simple as possible. Let's say I want to "map" /home/ directory for root domain. So, http://www.domain.com would display content from /home/ directory without changing url. Moreover, I don't want users / google to access to: http://www.domain.com/home/, so, if somebody goes to that URL, I want to redirect them back to my root domain: http://www.domain.com. I'm seeing that google is indexing both directories