Forum Moderators: open
http://example.com is a 302 temp redirect to http://www.example.com/index.asp
NOW, when i asked my web admin to set the example.com folder to a 301 NOT a 302, he said ok...
then came back to me and said we do not have a folder for example.com.
so where is this 302 coming from on our IIS server?
A 302 redirect can be 'deadly' as far as getting your site indexed the way you want it to be indexed; Last year, we spent gigabytes of disk space here discussing "302 hijacking" problems. You need to talk to someone at your hosting company that can set up a proper 301 redirect from non-www to www. And failing that, it may well be time to start looking for a new host; This is not a "hard" problem technically, and it should be simple for a competent server admin to fix for you.
Best,
Jim
Yahoo is known to mess up even with a proper 301 redirect and carry on listing the old page/s, in some cases this is probably a penalty. Did you have any sub-domains, example: subdomaine1.***.com, subdomain2.***.com etc, that can be a pain with yahoo to get them to change from ***.com to www.***.com in my experience. For some reason, they ignore proper 301 htaccess file requests and headers to change from non-www to www when the domain has or had in the past subdomains. If you have sites that are linking to you using the non-www, yahoo seem to keep listing that even if you have a proper 301 redirect to the www. You should have access to a control panel like cPanel to manage your hosting. you can set up 301 permanent redirect yourself, if your host does not have such a thing, they are not proper hosts and should urgently change to a proper one. Even if you are using free hosting, they should give you at least a limited access to a control panel nowadays.
PM me if you need any further help!
first note. this is not an external hosting company, these are my own web admins downstairs.. we host our own sites.
in regards to http://example.com re-directing to http://www.example.com/index.asp and returnign a 302 temporary re-direct header...
when i right click > properties for the website www.example.com and under the "Web Site" tab. Next to "web site identification", i click "advanced" .
this brings up another window, advanced web site identification, and i have the following entries:
***************************************************************
IP__________TCP Port_____________Host Header Value
default______80
default______80__________________www.example.com
default______80__________________example.com
***************************************************************
what is this about?
HTTP/1.1 302 Object moved
Connection: close
Date: Fri, 27 Feb 2009 21:17:44 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Location: http://www.example.com/index.asp
Content-Length: 153
Content-Type: text/html
Expires: Fri, 27 Feb 2009 21:16:44 GMT
Set-Cookie: ASPSESSIONIDSSRQTRRD=EALDIKCAICNNCNMFLGKKDOLP; path=/
Cache-control: no-cache