XMAP confusion around xml file directory
27 posts
• Page 3 of 3 • 1, 2, 3
Re: XMAP confusion around xml file directory
both sites have this in the .htaccess file too.
########## Begin - sitemap.xml for root directory SEO tests
# enable to allow SEO tests to see sitemap.xml in root directory
RewriteCond %{REQUEST_URI} ^/sitemap.xml
RewriteRule .* /index.php?option=com_xmap&sitemap=1&view=xml
########## End - sitemap.xml for root directory SEO tests
########## Begin - sitemap.xml for root directory SEO tests
# enable to allow SEO tests to see sitemap.xml in root directory
RewriteCond %{REQUEST_URI} ^/sitemap.xml
RewriteRule .* /index.php?option=com_xmap&sitemap=1&view=xml
########## End - sitemap.xml for root directory SEO tests
- tokenring
- Junior Boarder

- Posts: 38
- Joined: Tue Nov 03, 2009 3:49 am
Re: XMAP confusion around xml file directory
so I can get all the 1.5 sites to pass, but not 1.7.
Please help with this.
<robots.txt>
User-agent: *
Disallow: /administrator/
Disallow: /cache/
Disallow: /components/
Disallow: /images/
Disallow: /includes/
Disallow: /installation/
Disallow: /language/
Disallow: /libraries/
Disallow: /media/
Disallow: /modules/
Disallow: /plugins/
Disallow: /templates/
Disallow: /tmp/
Disallow: /xmlrpc/
SITEMAP: http://www.aruffrufflife.com/sitemap.xml
<sitemap.xml>
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>http://www.aruffrufflife.com/index.php?option=com_xmap&view=xml&id=1&lang=en</loc>
</sitemap>
</sitemapindex>
<.htaccess>
########## Begin - sitemap.xml for root directory SEO tests
# enable to allow SEO tests to see sitemap.xml in root directory
RewriteCond %{REQUEST_URI} ^/sitemap.xml
RewriteRule .* /index.php?option=com_xmap&sitemap=1&view=xml
########## End - sitemap.xml for root directory SEO tests
There is obviously a configuration combination that I'm doing wrong with my 1.7 sites. I can't figure it out what it is. Our questions and answers back and forth are a bit hard to follow.
Thanks,
Aaron
Please help with this.
<robots.txt>
User-agent: *
Disallow: /administrator/
Disallow: /cache/
Disallow: /components/
Disallow: /images/
Disallow: /includes/
Disallow: /installation/
Disallow: /language/
Disallow: /libraries/
Disallow: /media/
Disallow: /modules/
Disallow: /plugins/
Disallow: /templates/
Disallow: /tmp/
Disallow: /xmlrpc/
SITEMAP: http://www.aruffrufflife.com/sitemap.xml
<sitemap.xml>
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>http://www.aruffrufflife.com/index.php?option=com_xmap&view=xml&id=1&lang=en</loc>
</sitemap>
</sitemapindex>
<.htaccess>
########## Begin - sitemap.xml for root directory SEO tests
# enable to allow SEO tests to see sitemap.xml in root directory
RewriteCond %{REQUEST_URI} ^/sitemap.xml
RewriteRule .* /index.php?option=com_xmap&sitemap=1&view=xml
########## End - sitemap.xml for root directory SEO tests
There is obviously a configuration combination that I'm doing wrong with my 1.7 sites. I can't figure it out what it is. Our questions and answers back and forth are a bit hard to follow.
Thanks,
Aaron
- tokenring
- Junior Boarder

- Posts: 38
- Joined: Tue Nov 03, 2009 3:49 am
Re: XMAP confusion around xml file directory
Hi, the link the sitemap are different for joomla 1.7
they use "id=1" instead of "sitemap=1", so please make sure you use that sintax on both, the .htaccess and the sitema.xml
they use "id=1" instead of "sitemap=1", so please make sure you use that sintax on both, the .htaccess and the sitema.xml
-

guilleva - Administrator

- Posts: 1517
- Joined: Wed Sep 12, 2007 3:10 am
- Location: San José, Costa Rica
Re: XMAP confusion around xml file directory
thanks guilleva. Maybe you should update your little page on this to reflect that. 
also, I'll try what you are saying and do the tests again. If it doesn't work, I'll explain my situation a bit better too. If I specify the url for the sitemap tests as
www.domain.com/sitemap.xml it will fail, but if I take the URL out of the sitemap.xml file and put it into the sitemap test it passes. that is what is strange. I'll be back shortly.\
thanks again,
Aaron
also, I'll try what you are saying and do the tests again. If it doesn't work, I'll explain my situation a bit better too. If I specify the url for the sitemap tests as
www.domain.com/sitemap.xml it will fail, but if I take the URL out of the sitemap.xml file and put it into the sitemap test it passes. that is what is strange. I'll be back shortly.\
thanks again,
Aaron
- tokenring
- Junior Boarder

- Posts: 38
- Joined: Tue Nov 03, 2009 3:49 am
Re: XMAP confusion around xml file directory
so I changed "sitemap=1" to "id=1" in the .htaccess file, but since "sitemap=1" does not exist in my sitemap.xml file, how do I do the find and replace?
Anyway, I removed the sitemap.xml file from the root directory and made the "sitemap=1" to "id=1" changes and now tests pass for Joomla 1.7 sites. I added that comment to the .htaccess file for future reference so I don't get confused. Thanks for the greatly appreciated support. I will rate in forum and donate.
Aaron
Anyway, I removed the sitemap.xml file from the root directory and made the "sitemap=1" to "id=1" changes and now tests pass for Joomla 1.7 sites. I added that comment to the .htaccess file for future reference so I don't get confused. Thanks for the greatly appreciated support. I will rate in forum and donate.
Aaron
- tokenring
- Junior Boarder

- Posts: 38
- Joined: Tue Nov 03, 2009 3:49 am
Re: XMAP confusion around xml file directory
Great component and very configurable. I have about 8 sites which could be broken into 2 groups. Thered are 4 Joomla 1.5 sites and 4 joomla 1.7 sites. Out of the eight only 1 passes the sitemap test because http://www.boots-live.com
- bigbird8
- Fresh Boarder

- Posts: 1
- Joined: Thu Dec 29, 2011 3:20 am
Re: XMAP confusion around xml file directory
bigbird8 - I would be glad to help you out. I'll show you what I've done also. I have 4 1.5 sites and 4 1.7 sites, so we are in the same boat. Actually 2-3 of mine are still failing which is weird. I had to do an interesting change to get that one to work, so I actually have 2 that are not working.
first of all, what sites are you using for your sitemap tests? Do you see the sitemaps in WMT control panel?
Aaron
first of all, what sites are you using for your sitemap tests? Do you see the sitemaps in WMT control panel?
Aaron
- tokenring
- Junior Boarder

- Posts: 38
- Joined: Tue Nov 03, 2009 3:49 am
27 posts
• Page 3 of 3 • 1, 2, 3
Who is online
Users browsing this forum: ichiro [Crawler] and 3 guests