This is a discussion on A different but powerful sitemap concept within the Search Engine Optimisation (SEO) forums, part of the Search Engines & Website Promotion category; Don't know if you folks have come across this yet but I think it's gonna become a powerful tool in ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| | #1 (permalink) |
| Newbie | Don't know if you folks have come across this yet but I think it's gonna become a powerful tool in the SEO toolbox. https://www.google.com/webmasters/si...generator.html If you have Python installed on your server then it really is a 15 minute job to get it installed, add it to a cron or schedule and you can keep your sitemap.xml updated automatically. If you are on a Windows server there is a bug in the Python code which produces "\" instead of "/" but I have written a bit of vbs to correct this. Create a batch file and after the python code has been run create a VBS file (biteme.vbs in this example) and place it in the same directory as the sitemap.xml file, then call it using cscript. For example cscript biteme.vbs PHP Code: |
| | |
| | #2 (permalink) |
| Moderator | Thanks for the link mate, i did not know that google released some open source software.
__________________ Free .org domain - Click for details! Do not pm asking for things. My inbox is full. Add me to MSN! |
| | |
| | #3 (permalink) |
| Moderator | I just implemented this on one of my new projects Martyn, and I have to say i'm impressed at how easy it was, and also at how it keeps itself updated automatically Are there any ways you can disallow urls/folders from being included in the sitemap? I've searched but can't seem to find any solutions apart from disallowing the files using robots.txt Craig |
| | |
| | #4 (permalink) |
| Newbie | Yes you can, in you config.xml place lines like this and use wildcards and reg expressions:- Code: <filter action="drop" type="regexp" pattern="/\.[^/]*$" /> <filter action="drop" type="wildcard" pattern="*~" /> <filter action="drop" type="wildcard" pattern="*secret*" /> |
| | |
| Tags |
| concept, powerful, sitemap |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| phpBB Forum Sitemap | rustypaulin | Php and MySQL | 5 | 24-10-2005 20:04 |