Welcome to WebmasterWorld Guest from 107.20.75.63

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

How to find .htaccess file

     
9:48 am on Jul 16, 2010 (gmt 0)

New User

5+ Year Member

joined:July 14, 2010
posts:9
votes: 0

Hello All,

I have site like http://www.sitename.com.

these redirect to http://www.sitename.com/index.html
with both url like http://www.sitename.com and http://sitename.com
(I have checked it with redirect-check tool)

I found two files in my website folder and in 1 file the code is "Options +Indexes"
and
in 2nd file the code is "AuthType BasicAuthName "User Backups"AuthUserFile /home/content/a/m/i/html/stats/.statspwdrequire valid-userOptions +Indexes"

now my qus is how can i find the actual redirect code.

and which code should i use to redirect me to http://www.sitename.com my site

please reply me
1:12 am on July 17, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
posts:25430
votes: 0


If you see no Redirect, RedirectMatch, or RewriteRule directives in these .htaccess files referring to the "www.sitename.com" subdomain, then it is likely that this redirect is configured in your "Control Panel."

So I would recommend looking at your control panel for this setting.

Jim
11:15 am on July 17, 2010 (gmt 0)

New User

5+ Year Member

joined:July 14, 2010
posts: 9
votes: 0


Hello morgon how can i check my control panel, i dont know please advice me
12:25 pm on July 17, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


Your host should be able to supply the details.

There's a web page you will visit and you'll need the user name and password your host gave you.