Next Live Event: NamePros Live Auction, May 23rd at 6PM EDT
Results from the May 8th live auction are here.
18 members in the live chat room. Join Chat!
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.{mydomain}.com
AuthUserFile /home/iwantw/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/iwantw/public_html/_vti_pvt/service.grp
am i know why i must directing ?
and because as i can see there some people just prefer to http://domain and some people have choose http://www.domain so, which one the best ?
and if i want to use http://domain is it right the code off httacsess
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.{mydomain}.com
AuthUserFile /home/iwantw/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/iwantw/public_html/_vti_pvt/service.grp
Where should i add the add-on htaccess code?
Add the code umat_gila pasted above,
on a new line in your .htaccess right after what you posted above.
__________________
Signatures should be no more than FOUR lines in length and may not contain
images or fonts larger than Size 2.
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.{mydomain}.com
AuthUserFile /home/iwantw/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/iwantw/public_html/_vti_pvt/service.grp
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^\.site\.us$ [NC]
RewriteRule ^(.*)$ http://site.us/$1 [R=301,L]
The reason why you might do this for google or any other search engine is that there is a limit as to how many characters the crawler recognizes in the url. So if you have a long url with a lot of keywords in it the loss of the www gives you three extra characters.
I think limit is like 255 characters typically which is a lot, but if you have some script generating your page names it could happen.