www.domain.com and www.domain.com/home/
...will go to the same location. If a content editor creates a "CMSMS Link" to the content item "home" it'll go to that second URL. This isn't a huge deal, but for SEO purposes, it can't hurt to redirect "/home/" to "/".
So, I added the following to my .htaccess file:
Code: Select all
Redirect 301 /home/ http://www.domain.com
Well, the solution was to create an empty, physical directory called "home" in the site root.
Now, CMSMS still creates links like www.domain.com/home/, but that will automatically redirect to www.domain.com.
http://www.domain.com/?page=home/ still works, but CMSMS shouldn't generate links to it and it shouldn't appear anywhere for bots to pick up.