PHP Site Map (and Google Sitemap)

by dtbaker

Show:

WBATFTsays

Will this work with php 5?

Posted 8 months ago
Author

dtbaker dtbakerreplied

Yes, this script works fine on PHP4 and PHP5 .

Thanks.

Posted 8 months ago

heppnersays

Purchased

Hi,

Good job. I’d like to hide directory (with subdirectories), how to do it?

Regards,

Paul

Posted 8 months ago
Author

dtbaker dtbakerreplied

Thanks for purchasing, search for this:

$sitemap_ignore_files = array(

on about line 136. if the directory you wish to hide is called “my_directory” then add this just underneath:

"/.*my_directory.*/",

this will hide anything that contains “my_directory” from displaying in the site map.

good luck!

dtbaker

Posted 8 months ago

heppnersays

Purchased

I have “php” directory, when I put

”/.php./”,

it also hides all my files with the php extension

Posted 8 months ago

heppnersays

Purchased

It is also impossible to hide the directory if you have file with name which contains the directory name string. For example: when “tv” is your directory you want to hide then you also hide every file with “tv” string: productiontv.html, studiotv.php, protvshop.php and so on… I think the different method to hide directories is needed.

Posted 8 months ago
Author

dtbaker dtbakerreplied

Hi heppner,

Thank you for the feedback, I will include a separate directory hiding method in the next release.

Posted 8 months ago

Svipicsays

I have Dynamic site in php.

No html files in it. Can it be possible to index all my pages with this sitemap tool or it is for static html sites ?

Posted 8 months ago
Author

dtbaker dtbakerreplied

Hi Svipic,

If you know PHP then yes you will be able to modify this script to read your “page list” out of a database. This really depends on how you have everything set up, it may be easier just to create your own one from scratch.

Posted 8 months ago

pinkfootsays

Purchased

Hello,

i get and error ‘Invalid argument supplied for foreach()’ which is

foreach(glob($directory."*")

i have all my .php files in my public html root along with sitemap.php

Any help will be appreciated.

Thx

Posted 7 months ago

Basboysays

Purchased

Is there a possibility to ignore all maps an then select the maps I want to include… I got a bunch of maps in at my server but 9 out of 10 doesn’t need to come on my sitemap :)

Posted 6 months ago

Basboysays

Purchased

And I’ve got a Wordpress blog in a subfolder, how to get those pages/sitemap :O ?

Posted 6 months ago

cascavalitosays

It will work on a flash site?

Posted 6 months ago

dwebsays

Purchased

Not working with directories !

Posted 5 months ago

DigitalDiggsays

will it work if I have a flash/xml site

Posted 4 months ago

$6

Prepaid customers
pay just $4 - how? Prepay Your Account With our deposit system not only will purchasing be much faster, but we’ll also take $2 off the price! Find Out More Price

You must sign in or sign up to purchase this item.

12345 ( 23 ratings )

Purchase 108 purchases

File Types Included
PHP
Item Attributes
Created 10 July 09
PHP Version 4.x
MySQL Version N/A
Compatible Browsers FireFox 2, FireFox 3, IE6, IE7, IE8, Safari
ThemeForest Files Included N/A
PHP Files Included PHP
PHP Framework N/A
Collections that include this item