Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Sitemap ErrorsSitemap Errors
Previous
 
Next
New Post
4/12/2012 12:16 PM
 

When I submit the site map to Google Webmaster tools and "test" it with their tools I receive an error...

An invalid date was found. Please fix the date or formatting before resubmitting.
Parent tag: url
Tag: lastmod
Value: 0001-01-01
Detected: April 12, 2012

Any suggestions on how I can fix this?

 
New Post
4/12/2012 1:42 PM
 

I found the same. The sitemap has been buggy since birth but have not yet looked in the code to find the reason.

However a work around. Go to you site www.site.com/sitemap.aspx

There you will find the site in XML. Some of your pages have a last modified date like 0001-01-01.

Then you have to go to each page and in page setting do a update and that date will change to todays date.

You dont need to change anything just an update. Now it will work for Google.

 
New Post
4/12/2012 2:14 PM
 
That worked perfectly. Thanks for taking the time to read this and help me out.
 
New Post
10/30/2012 12:56 PM
 

I know this is an old posting, but we just found that some of our page modified dates are null.  May have happened during an upgrade or maybe during a move to a different server, who knows?

But anyway we found out the easiest solution (if you have SQL access to your site).  We simply asked to find all the pages with a modified date of null.  We got way more than we expected.  So we wrote a procedure that updated the date whenever it found a null.

Of course, we ran the update against each portal separately so that we could put a real date in it, reflecting at least the date the page was created.

By the way, some of our date created fields were blank as well.  We used another query to update those.  Of course, they should have never been blank.

In all fairness to DNN, some of these sites are 4-6 years old and have been through upgrades all the way from DNN 3.XXX.

One last thing, to update your sitemap.aspx immediately, go to the admin menu and the sitemap option.  There is a 'clear cache'.  Do that and you can immediately update the sitemap.   Of course the default cache is only one day, so everything would update the next day anyway.

Why is this important?  Google will report sitempa errors if the date is invalid.

Just another of the many things to keep your eye on.

We're not posting our SQL code, unless there is a demand for it.  Just want everyone to be cautious when manually changing stuff directly in SQL.


Bob
 
New Post
3/2/2013 12:00 PM
 
You may have to go to /Portals/0/Sitemap and delete the file sitemap.xml to force it to regenerate after you updated your page.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Sitemap ErrorsSitemap Errors


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out