|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Sitemap Generation
I am trying to generate a sitemap for my entire site using a php sitemap generator. I have tried two or three on the recommended list by google. They all seem to have the same problem which is this: They work fine for my main pages and blog, but when it comes to the forum (phpbb) and gallery (coppermine) they get bogged down into way to many entries.
Let me give you an example, I created a test phpbb forum with 1 forum, 2 threads and 3 posts. The generated sitemap had 28 entries (200 lines). There are many repetitive entries. The gallery had 2 albums and 6 pictures. It generated 186 entries with over 1100 lines in the site map. I believe since the coppermine + phpbb are challenging to generate sitemaps for, these applications have homegrown sitemap generators, but I am looking for one overall sitemap application. Do you have any suggestions for a sitemap generation that can handle this? I am really new to this xml sitemap generation and appreciate any help or suggestions. |
|
#2
|
|||
|
|||
|
Hi Turbo
What's you experience of hand coding php yourself? If you can edit your htaccess file you can fake an xml file outputted from a custom php file you write (which can output a text/xml header for you) to pull out exactly what you want from your database.
__________________
Said Ello Optimistically... |
|
#3
|
|||
|
|||
|
I have done some php coding but was still hoping to find something ready to go out there.
I think if I was to look at coding something I would look at one of the php scripts and modify it to eliminate most of the redundant links generated when crawling the coppermine gallery + phpbb forum. Quote:
|
|
#4
|
|||
|
|||
|
Use GSiteCrawler... it's quick and painless and generates sitemaps for both .xml and urllist.txt (Google/Yahoo).
|
|
#5
|
|||
|
|||
|
Quote:
In your htaccess put Code:
Options +FollowSymlinks RewriteEngine on # Fake XML sitemap RewriteRule ^sitemap\.xml$ /sitemap.php [L] That way when you access yoursite.com/sitemap.xml it'll output whatever sitemap.php contains. In the header of sitemap.php put PHP Code:
which'll tell your browser the nature of the file and Google will read it like a static file. You can then build the file from the database on the fly. PHP Code:
pulling out whatever addresses you want to show. |
|
#6
|
|||
|
|||
|
Exactly, Use Google Site map... it's quick generates site maps for both .xml and urllist.txt
You will see the generated sitemap details page, including number of pages, broken links list, XML file content and link to a compressed sitemap. |
![]() |
| Viewing: SEO Chat Forums > Google > Google Optimization > Sitemap Generation |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|