Page is a not externally linkable
Ivanna - 6:18 pm on Oct 31, 2012 (gmt 0)
Thank you wilderness.
So, option 2. The rule should be: # -FrontPage-
IndexIgnore .htaccess */.?* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
</Limit>
AuthName MyDomainName.com
AuthUserFile /home/MyUserID/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/MyUserID/public_html/_vti_pvt/service.grp
Is that correct?
I asked questions on a thread last week about settings on htaccess and I want to add it on this site.
This is what I would add
# Redirect index.php and .ph or html and .htm to folder
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.(php|html?)\ HTTP/
RewriteRule ^(([^/]+/)*)index\.(php|html?)$ http://www.MyDomainName.com/$1 [R=301,L]
# Redirect non-canonical to www
RewriteCond %{HTTP_HOST} !^(www\.MyDomainName\.com)?$
RewriteRule (.*) http://www.MyDomainName.com/$1 [R=301,L]
]
Should this rule be first and then option 2. next?
Thank you for your help
Ivanna