• [MOD] Google Sitemap for your gallery 5 0 5 1
Currently:  

Author Topic: [MOD] Google Sitemap for your gallery  (Read 278636 times)

0 Members and 1 Guest are viewing this topic.

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [MOD] Google Sitemap for your gallery
« Reply #120 on: July 08, 2009, 01:42:11 PM »
Thanks Nicky :)

Is there a way of knowing the number of sitemap that you have to create?

hi satine,

depence how much images(X) you have.

X / 20000 = Y  :mrgreen:
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Sebas Bonito

  • Sr. Member
  • ****
  • Posts: 271
  • Sebas Bonito
    • View Profile
Re: [MOD] Google Sitemap for your gallery
« Reply #121 on: August 14, 2009, 01:49:58 AM »
2 Questions:
1. How to exclude the profile links? For my site only registered users have the possibility to see the profile, so it's nonsense to inform a search-engine about this.
2. In my XML-sitemap around 1700 urls are listened, but after a month google has only indexed around 250 urls. What about the others? Where is the problem? There exist no technically problem on my site or at the sitemap.

Offline Moinsen

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: [MOD] Google Sitemap for your gallery
« Reply #122 on: August 21, 2009, 04:17:48 PM »
Damit die Sitemap auch die deutschen Umlaute verstehen kann, wenn die MOD Google Friendly Urls For 4images Best Seo Mod genutzt wird, folgenden Quelltext in der google.php abändern:

Suche
Code: [Select]
$imgna = $image['image_name'] = strtr($image['image_name'], "éèêàëâúóíáABCDEFGHIJKLMNOPQRSTUVWXYZsSiIÝIÇçGgýþÞðÐ","eeeaeauoiaabcdefghijklmnopqrstuvwxyzssiiiiccggissgg");
Ersetze mit
Code: [Select]
$image['image_name'] = $image['image_name'] = strtr($image['image_name'], "éèêàëâúóíáABCDEFGHIJKLMNOPQRSTUVWXYZsSiIÝIÇçGgýþÞðÐ","eeeaeauoiaabcdefghijklmnopqrstuvwxyzssiiiiccggissgg");
$imgna = strtr($image['image_name'],Array("ä"=>"ae","ö"=>"oe","ü"=>"ue", "Ä"=>"Ae","Ö"=>"Oe","Ü"=>"Ue"));

Offline Sebas Bonito

  • Sr. Member
  • ****
  • Posts: 271
  • Sebas Bonito
    • View Profile
Re: [MOD] Google Sitemap for your gallery
« Reply #123 on: August 21, 2009, 04:22:11 PM »
Bei mir enthalten die Links keine Umlaute, wieso die Änderung?  :?

Offline Moinsen

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: [MOD] Google Sitemap for your gallery
« Reply #124 on: August 22, 2009, 02:31:57 PM »
Steht alles im obigen Beitrag.

Offline didoman

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: [MOD] Google Sitemap for your gallery
« Reply #125 on: September 13, 2009, 10:32:16 PM »

Currently the only pages being mapped are:
categories.php?cat_id=
details.php?image_id=
member.php?action=showprofile&user_id=

Is it possible to include other pages that are not in the database.
Eg. I have created extra pages like about.html etc... and their hyperlinks are written http://www.example.com/index.php?template=about

Id like these adhoc pages to be mapped also. Is this feasible.
Thanks in advance.
Rob


Anyone have an answer to my original question?
thanks

Offline ahsancharming

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: [MOD] Google Sitemap for your gallery
« Reply #126 on: September 30, 2009, 03:18:22 AM »
iam totally confuesed?  :? :?

1) may i know whats the limit of urls in one single google. php page?

2) and how to create two different google1. php n google2. php pages with different friendly urls in it of the site?
google2. php will show the same urls which showed on google1. php?

3) can we add sitemap. xml and sitemap2. xml ? will google accepts both?

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [MOD] Google Sitemap for your gallery
« Reply #127 on: October 01, 2009, 08:38:25 PM »
so..

1.)
as i know., google accept 50000 entries per sitemap

2.)
yes you can:
example with 20000 urls (for to don't stress your server if you have tousends of pictures)

create google.php
change original
Code: [Select]
$images = mysql_query('SELECT image_id,image_active,image_date FROM ' . $table_prefix . 'images');query for images
to
Code: [Select]
$images = mysql_query('SELECT image_id,image_name,image_active,image_date FROM ' . $table_prefix . 'images ORDER by image_id ASC limit 0,20000');entry for .htaccess
Code: [Select]
RewriteRule ^sitemap.xml$ google.phpcall for google:
Code: [Select]
http://www.google.com/webmasters/sitemaps/ping?sitemap=http://yourdomain_com/gallery/sitemap.xml
create google2.php
change original
Code: [Select]
$images = mysql_query('SELECT image_id,image_active,image_date FROM ' . $table_prefix . 'images');query for images
to
Code: [Select]
$images = mysql_query('SELECT image_id,image_name,image_active,image_date FROM ' . $table_prefix . 'images ORDER by image_id ASC limit 20000,20000');entry for .htaccess
Code: [Select]
RewriteRule ^sitemap2.xml$ google2.phpcall for google:
Code: [Select]
http://www.google.com/webmasters/sitemaps/ping?sitemap=http://yourdomain_com/gallery/sitemap2.xml
create google3.php
change original
Code: [Select]
$images = mysql_query('SELECT image_id,image_active,image_date FROM ' . $table_prefix . 'images');query for images
to
Code: [Select]
$images = mysql_query('SELECT image_id,image_name,image_active,image_date FROM ' . $table_prefix . 'images ORDER by image_id ASC limit 40000,20000');entry for .htaccess
Code: [Select]
RewriteRule ^sitemap3.xml$ google3.phpcall for google:
Code: [Select]
http://www.google.com/webmasters/sitemaps/ping?sitemap=http://yourdomain_com/gallery/sitemap3.xml
if you need more, create more... :)


3.) yes and yes

have phun
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline ahsancharming

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: [MOD] Google Sitemap for your gallery
« Reply #128 on: October 02, 2009, 08:24:06 AM »
here r the url for my 4images gallery http://www.wallpaperspecial.com/wallzz/

1) well should i add sitemap.xml on public_html or public_html/wallzz?

2) is it ok? i've this in my .htaccess

Code: [Select]
RewriteRule ^sitemap.xml$ /wallzz/google.php

http://www.google.com/webmasters/sitemaps/ping?sitemap=http://wallpaperspecial.com/sitemap.xml

3) i've google.php in my 4imges folder which is (wallzz) is it ok?

Offline ahsancharming

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: [MOD] Google Sitemap for your gallery
« Reply #129 on: October 03, 2009, 11:55:22 PM »
any body here? i want YOUr help badly..

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Google Sitemap for your gallery
« Reply #130 on: October 04, 2009, 12:25:34 AM »
1)
Code: [Select]
http://www.google.com/webmasters/sitemaps/ping?sitemap=http://wallpaperspecial.com/sitemap.xmlshould not be in .htaccess

2) where is your .htaccess located? public_html or public_html/wallzz?

3) maybe try
Code: [Select]
RewriteRule ^sitemap.xml$ wallzz/google.php
4) http://wallpaperspecial.com/sitemap.xml returns:
Code: [Select]
</head><!-- ValueClick Media 300x250 Medium Rectangle CODE for wallpaperspecial.com -->
<script language="javascript" src="http://media.fastclick.net/w/get.media?sid=19948&m=6&tp=8&d=j&t=s"></script>
<noscript><a href="http://media.fastclick.net/w/click.here?sid=19948&m=6&c=1" target="_top">
<img src="http://media.fastclick.net/w/get.media?sid=19948&m=6&tp=8&d=s&c=1"
width=300 height=250 border=1></a></noscript>
<!-- ValueClick Media 300x250 Medium Rectangle CODE for wallpaperspecial.com -->

<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
Why?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline ahsancharming

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: [MOD] Google Sitemap for your gallery
« Reply #131 on: October 04, 2009, 04:00:23 PM »
1)
Code: [Select]
http://www.google.com/webmasters/sitemaps/ping?sitemap=http://wallpaperspecial.com/sitemap.xmlshould not be in .htaccess

2) where is your .htaccess located? public_html or public_html/wallzz?

3) maybe try
Code: [Select]
RewriteRule ^sitemap.xml$ wallzz/google.php
4) http://wallpaperspecial.com/sitemap.xml returns:
Code: [Select]
</head><!-- ValueClick Media 300x250 Medium Rectangle CODE for wallpaperspecial.com -->
<script language="javascript" src="http://media.fastclick.net/w/get.media?sid=19948&m=6&tp=8&d=j&t=s"></script>
<noscript><a href="http://media.fastclick.net/w/click.here?sid=19948&m=6&c=1" target="_top">
<img src="http://media.fastclick.net/w/get.media?sid=19948&m=6&tp=8&d=s&c=1"
width=300 height=250 border=1></a></noscript>
<!-- ValueClick Media 300x250 Medium Rectangle CODE for wallpaperspecial.com -->

<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
Why?



1) ok i simply send them a notification from I.E

2) at public_html ..is it fine?

3) Ok i will try? r u not sure abt this?

4) iam fixing it..

5) and y is shows this?????
Code: [Select]
The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

A name was started with an invalid character. Error processing resource 'http://wallpaperspecial.com/sitemap.xml'. Line 28...
« Last Edit: October 05, 2009, 12:19:38 AM by ahsancharming »

Offline ahsancharming

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: [MOD] Google Sitemap for your gallery
« Reply #132 on: October 08, 2009, 08:51:05 AM »
nobody repling.. is this  forum is useless :(

Offline V@nо

  • Addicted member
  • ******
  • Posts: 1.223
    • View Profile
Re: [MOD] Google Sitemap for your gallery
« Reply #133 on: October 08, 2009, 04:04:51 PM »
Well, I can only assume there is something you do wrong, because your sitemap.xml produce garbage - and you said "iam fixing it", yet, nothing changed since then. and your 5) is direct result of 4)
Your first three "must do" before you ask a question:
If I asked you to PM me, I meant PM to my primary account, this account doesn't accept PMs.

Offline ahsancharming

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: [MOD] Google Sitemap for your gallery
« Reply #134 on: October 09, 2009, 01:28:51 PM »