Forum Moderators: phranque

Message Too Old, No Replies

Google Sitemaps and Mod Rewrite

         

HoboTraveler

12:54 pm on Oct 8, 2007 (gmt 0)

10+ Year Member



Hello,

We have mod rewrite enabled on our server. I generated a google sitemap. The sitemap is unable to parse the modwritten URLs.

Is the sitemap unable to parse modwritten URLs from the database? Is there a solution?

TIA

tedster

4:09 am on Oct 9, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A lot will depend on the technologies you are using. But I'm not sure what you mean by "unable to parse". Do you need the sitemap generator to create rewritten urls, starting from the dynamic urls?

HoboTraveler

4:31 am on Oct 9, 2007 (gmt 0)

10+ Year Member



Hello,

What I'm saying is, modwritten URLs are not listed in the generated sitemap. URLs that are generated dynamically from a database are not listed at all.

The google sitemap script 'walks' over the filesystem and lists the files from the filesystem. Dynamically generated URLs are not listed in the XML dump.

Is there a solution or an alternative?

TIA

jtara

6:18 am on Oct 10, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The google sitemap script 'walks' over the filesystem

That's one option. But not one that is usable for dynamic content or rewritten URLs. It's not useful to walk files to create a sitemap, without knowing the correspondence between URLs and file paths.

But it can also walk URLs, which it accesses via HTTP.

You need to use the URL List method.