Forum Moderators: phranque

Message Too Old, No Replies

Need Help with .htaccess file

.htaccess comfused

         

vipsvvvv

12:32 pm on Jun 15, 2008 (gmt 0)

10+ Year Member



Hi,

Recently i bought a new hosting and i uploaded my new website, everything seems to work fine and i link the new website to a PR4 website that i have so it will get indexed quick usually takes maximum 2 days,

But this time nothing happend for more than a week now , i have several quality backlinks and this website it has not been indexed by any search engine, so i try to investigate further where the problem was, i though that maybe the hosting i recently bought was not reliable and this was causing the problem.

I open the .htaccess and i saw the following configuration:

# -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 example*.*com
AuthUserFile /home/*****/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/*****/public_html/_vti_pvt/service.grp

I checked my configuration to the older hosting i use for my other websites if it has the same configuration but in the .htaccess had none of those lines

So im wondering if i need to remove those lines completely in case it effects my website to get indexed?

I appreciate any help about this matter

Kindly Regards

George

p.s. i also use those lines for all my websites in the .htaccess

Options +Indexes +FollowSymlinks
RewriteEngine on
RewriteBase /

### re-direct index.html to root / ###
RewriteCond %{THE_REQUEST} ^.*\/index\.html\ HTTP/
RewriteRule ^(.*)index\.html$ /$1 [R=301,L]

### re-direct non-www to www
RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,NC,L]

But thats just 301 redirection.