Google sitemaps - Page 3 Google sitemaps - Page 3
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Google sitemaps

Started by Nibbler, June 09, 2005, 06:16:51 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

JohannM

Ok, I'm gonna sound stupid here ...

I did access and execute the sitemap.php page, and it created an sitemap.xml page.

What is the purpose of this xml page, and why and for what is it used ?



wwedivas

Ok I have a few questions. My gallery is located at http://www.wwedivaspictures.com/pics ..  First of all I don't fully understand how to //define('FILEDUMP', 'sitemap.xml'); like it says cause i did this and I got an error. I need to see what the entire code should look like if I'm only changing that part of it. Also, you say that the script only covers picture pages that are in categories. Well I 6 different categories that I made, and the script only recognized the first category as well as the user galleries category. I wonder what that is so. Also, I would like to have one sitemap for my whole site. Is there a way to do this? Or would I have to manually copy and paste the urls I see at http://www.wwedivaspictures.com/pics/sitemap.php into the sitemap created from my main index page?                       

wwedivas


BikiniPhotoBank

OK I am totally confused??
???
I have tried BOTH of the sitemap files, but keep getting the error with the sitemap_plus.php file:
Warning: main(include/init.inc.php): failed to open stream: No such file or directory in /hsphere/local/home/spiroinc/bikiniphotobank.com/sitemap.php on line 33

Warning: main(include/init.inc.php): failed to open stream: No such file or directory in /hsphere/local/home/spiroinc/bikiniphotobank.com/sitemap.php on line 33

Fatal error: main(): Failed opening required 'include/init.inc.php' (include_path='.:/usr/local/lib/php:/usr/local/lib/php/PEAR:/usr/local/share/pear') in /hsphere/local/home/spiroinc/bikiniphotobank.com/sitemap.php on line 33

OR this error with the sitemap.php file:

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /hsphere/local/home/spiroinc/bikiniphotobank.com/sitemap.php on line 39

Can anyone tell me what I am doing wrong?
Please help....im dazed and confused!

nyltak

2 links are still backwards.  plus is not and not is plus... this script is so simple yet sooo confusing

cornelp

I have searched to see why i am getting this error, but I tried to run either one of the sitemaps files, and neither will work. Perhaps I am doing something wrong.

I am getting a 500 Internal Server Error.

Here is the link:
http://gallery.poserpacks.com/sitemap.php
http://gallery.poserpacks.com/sitemap_plus.php

Why is this? Was I supposed to make any changes to either file in order for it to work?

THANK YOU...

CPG Latest Version installed. No other mods (just added a few link buttons on my own).

Thank You again...

cornelp

Anyone can help me here please?

Cornelp

Nibbler


cornelp

Just in case anyone has the same problem as I do, or just cannot get the sitemap hack to work on their Gallery, there is another way, free too, lol.

I found this great and free software that works wonderful. Not only runs great, but also it can upload your XML Sitemap automatically and also inform Google of it. I did so last night for my site, and to my surprise, as soon as the software informed google of the sitemap change, google downloaded the sitemap within 8-12 mins on each site I did thru this software.

Works really great. Just wanted  to inform those that may NOT be able to run this due to Server Restrictions or other problems.
The only downside to this is that you have to do the XML File Manually whenever U make changes.

The software is called GSite Crawler, link below (I have nothing to do with this software, just found it thru other forums).
Hope this helps others, it sure helped me (submitted my forums, store and gallery within mins after I created the sitemap).

http://gsitecrawler.com/

Thank You...

windyweather

Google produced an error when processing output from the simple version of the file against my CPG1.4.4 site. The error complained about the first URI in the file. After removing the offending lines from the script, the sitemap was consumed by google with no errors.

Google may have changed the rules. The script was run from the base coppermine folder.

ww

mofro

I must be doing something severely wrong? No one else has posted this issue. Mine runs fine and hits all it should, but lists everything as local host instead of the web address.

Any ideas?

Nibbler

What have you set as your gallery url in config?

sguler


mofro

Quote from: Nibbler on October 28, 2006, 12:45:04 AM
What have you set as your gallery url in config?

Thanks Nibbler!

Mo

Nibbler

Try changing

mysql_query

to

cpg_db_query

sguler

Thanks Nibbler, it works now:))

SteveoSupremo

ok I've seen a couple posts on this but have never seen the problem resolved.

I am getting


Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/steveome/public_html/vcitypaintball/cpg/sitemap.php on line 39


when I run the sitemap.php

here is my site www.VcityPaintball.com and the gallery is at www.VcityPaintball.com/cpg

any help would be great.

thanks

Nibbler

Use the other version of the script.

^SuPeR^

Hi,

any workaround for albums in no category for Simple version?

Thanks