Welcome to WebmasterWorld Guest from 54.162.226.212

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

odd redirection

odd redirection

     
2:11 pm on Aug 30, 2011 (gmt 0)



Hi,

I have odd redirection problem.

When I given www.test1.com was able to forward the index page.

If I gace test1.com(exculding www) .It was redirecting some other child website.

Can you provide some pointers where I can check this please?


Regards,
Sreenivas A.
9:28 pm on Aug 30, 2011 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



Before you do anything else: Is it your own server or are you hosted by someone else? If it isn't your server, start by asking the host. It's no use tearing your hair out over htaccess or config files when the problem is happening further up the line.
2:56 am on Aug 31, 2011 (gmt 0)



HI,

Thanks for your suggestion. But it's our own server :(.

Need to find out the solution by owm.

Regards,
Arumilli
5:28 am on Aug 31, 2011 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



Did you inherit the package from someone else? Do you actually have subdomains ("blahblah.example.com")? Is everyone under the same DNS?

You need to look from the top down. Config files, directory, htaccess. Somewhere there is a redirect saying (in English) "If the host is not exactly www.example.com, send them to myfavoritesubdomain.example.com." Obviously this is not what you want, though maybe it's what some previous version of the domain did want. Or maybe the redirect is just badly written.

What it should be doing instead is either append www. to any request that doesn't already have it, or remove www. from any request that does have it. It's your choice, but you need to specify one or the other. Make it a redirect, not a rewrite. This is to avoid the dreaded Duplicate Content problem, where search engines think www.example.com/index.html and example.com/index.html are completely different places.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month