Acid-Lounge.com


MXpie patch | Winmx patch help | Winpy | SEO for beginners and Website chat
It is currently 20 Nov 2008, 08:43



All times are UTC [ DST ]





Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Too many 301 redirects error in Google site maps
PostPosted: 14 Jul 2008, 17:14 
Offline
Site Admin
User avatar
 YIM  Profile

Joined: 13 Mar 2007, 11:39
Posts: 528
Location: Springfield
I recently found one of my sites had this error on google sitemaps. At first i couldnt work out why, less than half the site was indexed and google was rejecting the xml sitemap. In the end i realised what the issue was, i had set the site up with multiple sub-directories and had the menu written to link to each of the sub-directories as per below:

Code:
<a href="/folder1/">Folder 1</a><br />


Then inside the directory folder 1 was an index.php page.

Whilst this worked fine in practise, it was clearly disliked by google as i presume it considers this a 301 redirect to the index file.

To avoid this, i simple changed the menu to read:

Code:
<a href="/folder1/index.php">Folder 1</a><br />


Problem solved, the XML sitemap passed first time, i should think the rest of the site will begin to index fairly soon now, fingers crossed.

:tool:

_________________
Good pet names | Misty Edwards | Ferari F1


Top
 

 Post subject: Re: Too mnay 301 redirects error in Google site maps
PostPosted: 14 Jul 2008, 22:13 
Offline
User avatar
 WWW  Profile

Joined: 16 Mar 2007, 02:00
Posts: 125
Yes, a sitemap should list pages, not folders, even if the only file in the folder is the default index.

Don't make Google guess where your pages are with a sitemap. The purpose of the sitemap is to tell Google exactly where pages are. If you are not going to do that, then you are better off without a sitemap at all.

_________________
Image


Top
 

 Post subject: Re: Too many 301 redirects error in Google site maps
PostPosted: 15 Jul 2008, 12:56 
Offline
Site Admin
User avatar
 YIM  Profile

Joined: 13 Mar 2007, 11:39
Posts: 528
Location: Springfield
Ofc April, its just not something i considered when i built the site, figured i would post it so other beginers like myself dont get caught out!

_________________
Good pet names | Misty Edwards | Ferari F1


Top
 

 Post subject: Re: Too many 301 redirects error in Google site maps
PostPosted: 17 Jul 2008, 07:54 
Offline
Site Admin
User avatar
 YIM  Profile

Joined: 13 Mar 2007, 11:39
Posts: 528
Location: Springfield
As a brief followup to this thread, 4 days after fixing the issues mentioned, i now have the site fully indexed. There was 160 pages indexed, now, i have 380 pages indexed. Just goes to show what a small error can cause!

_________________
Good pet names | Misty Edwards | Ferari F1


Top
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]



Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group  
Design By Poker Bandits  
phpBB SEO