Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Building a google sitemap help

  • 31-03-2008 10:14AM
    #1
    Registered Users, Registered Users 2 Posts: 4,396 ✭✭✭


    I’m trying to build a xml sitemap for google for a website but the map gets to about 1,800 pages and just stops. Traced the problem to there only a being a 16M limit on the memory_limit and 30 max_execution_time. I don’t have access to the memory_limit or max_execution_time as these settings have be increased in PHP configuration on the host (php.ini file on the server)

    I have been in contact with the host support but because its shared hosting theirs nothing they will do.

    Does anyone know any way to a work around building a site map approx 20,000 pages without eating up all the memory.


Comments

  • Registered Users, Registered Users 2 Posts: 4,396 ✭✭✭EKRIUQ


    Just posting this if anyone else comes across this problem and this seems to work for me.

    I can run the script alone on a my local machine server and I realized the script did not have to be on the same server as the website being crawled.

    I have Xampp on a windows machine, and I had to change the php.ini file in about 5 locations to increase max _execution_time and memory. I just reset file locations and names to suit my site in the configuration. Then uploaded the completed sitemap to my host.

    Apart from taking up a massive amount of memory and time, the script is running well at the moment and I assume its taking some time to crawl due to limitations from my shared hosts allowed amount of http requests!

    I hope this has been helpful to anyone using shared hosting! and what to build a big sitemap.


  • Registered Users, Registered Users 2 Posts: 2,919 ✭✭✭Bob the Builder


    yah, i could have got you a sample file, but be careful of settings which may be vastly different..

    did you build your own script or did you download it?


  • Registered Users, Registered Users 2 Posts: 4,396 ✭✭✭EKRIUQ


    nevf wrote: »
    did you build your own script or did you download it?

    Downloaded I wouldn't know how to build one, and if I did it probably won't work correctly!:pac:


Advertisement
Advertisement