Re: [Solved] Problem with Pretty URLs and .htaccess protected folders
Posted: Wed Oct 28, 2009 2:30 am
Thanks so much for this. Thank goodness for these forums 

Content management as it is meant to be
https://forum.cmsmadesimple.org/
I am slowly moving all sites and client sites to a CPanel hosting company which has been fantastic so far, but on 3rd website move, suddenly the pages would only appear as either WWW or NON-WWW - but not both.techpro wrote: The thing that solved the problem was to create a file 401.shtml in the public_html folder. This file can be one byte long if you want. In all the time I have been working on sites under cPanel I have never needed to create a custom 401 page, in fact I didn't know the option existed, so I just didn't think of it, and it was not specifically mentioned in the forum posts.
Hopefully this will help others who experience the same problem to solve it a bit more quickly.