PDA

View Full Version : Wich PHP-Files should I put in my sitemap.xml or urllist.txt



Morricone
03-29-2007, 03:15 PM
At the moment i´m building up a small directory on my existing site. I´m using PHPld 2.1 as free version.
My question is, do I have to put the PHP Files in my sitemap.xml or urllist ? I think yes.. but wich ones, do I have to put in ? Just the index.php, located in my Phpld directory ?
And how does, google and other search engines, read PHP files ? Do they read the .html output, wich is produced by the PHP-script or just the plain file ? Or the file + includes etc .?

this maybe a stupid question, but still don´t know that much about SEO and I know nearly nothing about PHP.

Anyway thanks for help,
Marc aka Morricone

incrediblehelp
03-30-2007, 09:33 PM
Building a website in HTML or PHP is perfectly fine for the SE's

seiretto
04-03-2007, 06:28 AM
I think he is asking whether he should add dynamic urls in his sitemap?!?

If so then yes, there are details on how to escape the urls here:
http://www.sitemaps.org/faq.html#faq_xml_encoding

Hope that helps if not then please reply...

bhatti
04-03-2007, 06:36 PM
Search engine will read the outcome of php files which appear in browser. It can be .html if you rewrite urls from php to html.

You need to mention all your urls in your sitemap file. But dont put too many urls in single fine. If more than 100 urls then make more sitemap files.

dvduval
11-28-2007, 05:15 PM
I would think the main urls you should include are the category pages and the homepage.
If you want to be extra thorough you can also include the detail pages.