View Full Version : problems with search engines
ezhilraja
05-18-2005, 06:08 AM
why does search engines get confused with http://dzinegarage.com and http://www.dzinegarage.com (the one with www). some pages are indexed twice cause of this problem. when would they fix up this problem.
Marcia
05-18-2005, 06:15 AM
Actually, it isn't a problem and they don't need to fix it. For one thing, there have been problems caused by this in the past, so they need to continue to treat them differently.
Technically, they're not the same page.
example.com is the root index main page of a site and www.example.com is in a subdirectory - www is a subdirectory of example.com
That's why they're indexed twice - technically it's the same page, but still 2 pages in 2 different locations. The way we fix it on our end is to redirect one to the other, generally example.com redirected to www.example.com if that's what the site will be using as their main homepage.
ezhilraja
05-18-2005, 06:22 AM
i can i redirected it by adding www. i am using iis.
I, Brian
05-18-2005, 07:07 AM
On Apache running the mod_rewrite module, if you stick the following in a .htaccess file in your root HTML folder, you can redirect requests from one form to the other:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain\.co.uk$ [NC]
RewriteRule ^.*$ http://www.domain.co.uk%{REQUEST_URI} [R=permanent,L]
The method above simply redirects non-www requests to URLs that include the WWW form in the URL.
ezhilraja
05-18-2005, 07:10 AM
dear friend i told its in IIS