Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have developed website in Zend framework, it's like a blog. I'm worried about posting URL links, as they are not being indexed in Google. However, if I generate sitemap.xml externally, and upload it, then it is displayed on Google Search. Yet, I think this is not the proper way to submit my sitemap.

So, I'm looking for an automated method to generate a sitemap.xml file, i.e., reset a sitemap.xml file every day. Is there anyway to do so?

share|improve this question
    
"I generate sitemap.xml externally" - are you using an independent tool, not directly connected with your website? –  w3d Jul 17 '13 at 10:14
    
Yes,, from xml-sitemaps.com –  k6t back Jul 18 '13 at 9:58

1 Answer 1

up vote 1 down vote accepted

Why not to use cron jobs to do the jobs automatically?

Both cPanel and DirectAdmin have some great GUIs for that purpose.

You can easily set a cron job to automate the execution of sitemap.xml generator.

share|improve this answer
    
can you show any demo link.... –  k6t back Jul 19 '13 at 5:29
    
Sure. siteground.com/tutorials/cpanel/cron_jobs.htm show how you can setup a cron job to automate executing a special php file. –  smhnaji Jul 19 '13 at 10:06
    
sorry not cronjob... demo code of auto sitemap.xml generator link –  k6t back Jul 19 '13 at 12:04
    
The way you should generate sitemap.xml completely depends on your database schema. Anyway pontikis.net/blog/creating-dynamic-xml-sitemaps-using-php seams to be helpful. –  smhnaji Jul 19 '13 at 14:27
    
now i some what clear about sitemap generation,, thank you @smhnaju –  k6t back Jul 23 '13 at 13:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.