This is what I need:
1. have "[login to view URL]" be changed to "listings" as the default page that is loaded for root domain and folders
this is what I have right now and it works, however with additional tasks below it may need to be modified?:
<FilesMatch listings>
ForceType application/x-httpd-php
</FilesMatch>
-------------------------
2. have [login to view URL] redirect automatically to [login to view URL] (so that "[login to view URL]" and it's pages does not get indexed by search engines)
3. have any page with
[login to view URL] OR [login to view URL] OR
[login to view URL]
OR
[login to view URL] OR [login to view URL] OR
[login to view URL]
get redirected to [login to view URL] but allow any other subfolder name to work normally, just not files and folders in "subfolderA"
some code like this is required I imagine:
Redirect permanent /listings/subfolderA/ [login to view URL]
So although I can probably figure this out myself, I want to have an expert apply the correct code.
Running on server: linux, apache, php5