vBulletin 4, the most powerful community software + vBSEO 3.5, the ultimate SEO solution = Your ultimate platform for 2010 and beyond. Click below to learn more.

Page 2 of 3
FirstFirst 1 2 3 LastLast
Results 16 to 30 of 32

Add-on for vBadvanced Gallery URLs

This is a discussion on Add-on for vBadvanced Gallery URLs within the Sitemap Features Archive forums, part of the vBulletin Links & Resources category; Progress , but there is still a couple of problems. The URLs get added to the files, but the showimage.php ...

  1. #16
    Member
    Real Name
    Joe
    Join Date
    Oct 2005
    Posts
    30

    Talking Re: Add-on for vBadvanced Gallery URLs

    Progress , but there is still a couple of problems.
    The URLs get added to the files, but the showimage.php URLs are missing the 'i=' part
    For example:
    Code:
    http://gallery.wirelessadvisor.com//showimage.php?900
    

    should be
    Code:
    http://gallery.wirelessadvisor.com/showimage.php?i=900
    


    I see where to add that in your php file, but I wanted to point it out for other people who want to use this.

    Also the URLs added have that double forward slash // can I just remove the trailing forward slash from $gallery_url ?
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  2. #17
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul
    Posts
    16,936
    Blog Entries
    4

    Re: Add-on for vBadvanced Gallery URLs

    Quote Originally Posted by Ocean
    Progress , but there is still a couple of problems.
    The URLs get added to the files, but the showimage.php URLs are missing the 'i=' part
    For example:
    Code:
    http://gallery.wirelessadvisor.com//showimage.php?900
    

    should be
    Code:
    http://gallery.wirelessadvisor.com/showimage.php?i=900
    


    I see where to add that in your php file, but I wanted to point it out for other people who want to use this.

    Also the URLs added have that double forward slash // can I just remove the trailing forward slash from $gallery_url ?
    Thanks for pointing that

    The correct one shall be
    Code:
    <?php
    	# vbSEO Google Sitemap Generator - PhotoPost vbGallery Add On.
    	# Written by Lizard King (http://www.ayyas.com)
    	# Full HTTP path to your gallery root (without trailing forwardslash ex: 'http://www.ayyas.com/galeri'; )
    	$gallery_url = 'http://www.ayyas.com/galeri';
    	
    	$mods = $db->query("SELECT catid,title FROM " . TABLE_PREFIX . "adv_gallery_categories ORDER BY `displayorder`");
    	while ($mod = $db->fetch_array($mods))
    	{	
    		$url = $gallery_url.'/browseimages.php?c='.$mod['catid'];
    
    		if(VBSEO_ON)
    			$url = vbseo_any_url($url);
    
      		vbseo_add_url($url, 1.0, '', 'daily');
    	}
    
    	$mods = $db->query_read('SELECT imageid,dateline FROM ' . TABLE_PREFIX . 'adv_gallery_images');
    	while ($mod = $db->fetch_array($mods))
    	{	
    		$url = $gallery_url.'/showimage.php?i='.$mod['imageid'];
    
    		if(VBSEO_ON)
    			$url = vbseo_any_url($url);
      		vbseo_add_url($url, 1.0, '', 'daily');
    	}
    ?>
    
    Mert Gökçeimam / Crawlability Inc.

    Yeni vBSEO Kontrol Paneli ve vBSEO 3.5 Yayın Tarihleri

    vBSEO 3.5 Beta 2 Yayınlandı - vBulletin 4 Uyumlu!



    Kişisel Sitem : Felsefe - Kültür merkeziniz
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  3. #18
    Member
    Real Name
    Joe
    Join Date
    Oct 2005
    Posts
    30

    Thumbs up Re: Add-on for vBadvanced Gallery URLs

    It works great now. Thank you for making this!
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  4. #19
    Member
    Real Name
    Joe
    Join Date
    Oct 2005
    Posts
    30

    Question Re: Add-on for vBadvanced Gallery URLs

    deleted
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  5. #20
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147

    Re: Add-on for vBadvanced Gallery URLs

    Ah yes, you have your Gallery on another domain. You'll have to add it to a separate Google Webmaster entry. You would need to find some way to separate the Gallery URLs into their own sitemap file(s).
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  6. #21
    Member
    Real Name
    Joe
    Join Date
    Oct 2005
    Posts
    30

    Question Re: Add-on for vBadvanced Gallery URLs

    I have run into a new problem with the Gallery URLs. After they are submitted to Google, I get this error in my account for each one:

    This url is not allowed for a Sitemap at this location.

    URL not allowed


    Google has detected some URLs that appear to be at a higher level or different domain than the Sitemap file location. If you receive this error, try moving your Sitemap file to a higher location in your site and submitting again. For instance, if your Sitemap is listed under http://www.example.com/mysite/sitemap.xml, the following URLs are not valid for that sitemap
    • http://www.example.com/ - it's at a higher level than the Sitemap
    • http://www.example.com/yoursite/ - it's in a directory parallel to the Sitemap
    The problem is my sitemap files are under
    http://forums.wirelessadvisor.com
    (gallery URLs are appended to these sitemap files)

    while the Gallery URLs are all under
    http://gallery.wirelessadvisor.com

    Any idea how to resolve this issue?
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  7. #22
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147

    Re: Add-on for vBadvanced Gallery URLs

    See my previous reply.
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  8. #23
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147

    Re: Add-on for vBadvanced Gallery URLs

    Or, you could convert everything over to www.wirelessadvisor.com.

    Home: http://www.wirelessadvisor.com
    Forums: http://www.wirelessadvisor.com
    Gallery: http://www.wirelessadvisor.com/gallery
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  9. #24
    Member
    Real Name
    Joe
    Join Date
    Oct 2005
    Posts
    30

    Re: Add-on for vBadvanced Gallery URLs

    Actually, physically on the server that is already my directory structure.
    Last edited by Ocean; 11-25-2006 at 06:30 PM.
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  10. #25
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147

    Re: Add-on for vBadvanced Gallery URLs

    True, I remember that now. You could just change your gallery URL to:

    http://forums.wirelessadvisor.com/gallery
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  11. #26
    Member
    Real Name
    Joe
    Join Date
    Oct 2005
    Posts
    30

    Re: Add-on for vBadvanced Gallery URLs

    I don't think that will work either because then those URLs actually resolve to:
    http://www.wirelessadvisor.com/forums/gallery which doesn't exist.

    the /forums/ and /gallery/ directories are parallel.
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  12. #27
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147

    Re: Add-on for vBadvanced Gallery URLs

    Ahhh yes. Quite the conumdrum.

    Might be time to try to consolidate your CT server.
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  13. #28
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul
    Posts
    16,936
    Blog Entries
    4

    Re: Add-on for vBadvanced Gallery URLs

    This is my structure and everythşng is working pretty good.
    the only difference is my forum is www.mysite.com/forum.html
    Mert Gökçeimam / Crawlability Inc.

    Yeni vBSEO Kontrol Paneli ve vBSEO 3.5 Yayın Tarihleri

    vBSEO 3.5 Beta 2 Yayınlandı - vBulletin 4 Uyumlu!



    Kişisel Sitem : Felsefe - Kültür merkeziniz
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  14. #29
    Member
    Real Name
    Joe
    Join Date
    Oct 2005
    Posts
    30

    Re: Add-on for vBadvanced Gallery URLs

    Is it possible to have this add-on create a separate .xml.gz sitemap file that contains only the Gallery URLs? And, write that file to a specified directory?
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  15. #30
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul
    Posts
    16,936
    Blog Entries
    4

    Re: Add-on for vBadvanced Gallery URLs

    Quote Originally Posted by Ocean View Post
    Is it possible to have this add-on create a separate .xml.gz sitemap file that contains only the Gallery URLs? And, write that file to a specified directory?
    I am not sure about it. I will give it a try but it may be though to accomplish.
    Mert Gökçeimam / Crawlability Inc.

    Yeni vBSEO Kontrol Paneli ve vBSEO 3.5 Yayın Tarihleri

    vBSEO 3.5 Beta 2 Yayınlandı - vBulletin 4 Uyumlu!



    Kişisel Sitem : Felsefe - Kültür merkeziniz
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

Page 2 of 3
FirstFirst 1 2 3 LastLast

Similar Threads

  1. Sitemap generating a lot more urls
    By poprulz in forum Troubleshooting
    Replies: 13
    Last Post: 02-28-2007, 04:15 PM
  2. Google Sitemap-Listing of old url's option-from 1.7
    By T2DMan in forum Member Articles
    Replies: 0
    Last Post: 04-02-2006, 08:46 AM
  3. what to do with old urls?
    By Jonathan in forum General Discussion
    Replies: 6
    Last Post: 08-04-2005, 03:57 PM