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
    Liked
    0 times

    Talking

    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 ?

  2. #17
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    22,362
    Liked
    541 times
    Blog Entries
    4
    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.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

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

    Thumbs up

    It works great now. Thank you for making this!

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

    Question

    deleted

  5. #20
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    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).

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

    Question

    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?

  7. #22
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    See my previous reply.

  8. #23
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    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

  9. #24
    Member
    Real Name
    Joe
    Join Date
    Oct 2005
    Posts
    30
    Liked
    0 times
    Actually, physically on the server that is already my directory structure.
    Last edited by Ocean; 11-25-2006 at 07:30 PM.

  10. #25
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    True, I remember that now. You could just change your gallery URL to:

    http://forums.wirelessadvisor.com/gallery

  11. #26
    Member
    Real Name
    Joe
    Join Date
    Oct 2005
    Posts
    30
    Liked
    0 times
    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.

  12. #27
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    Ahhh yes. Quite the conumdrum.

    Might be time to try to consolidate your CT server.

  13. #28
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    22,362
    Liked
    541 times
    Blog Entries
    4
    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.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  14. #29
    Member
    Real Name
    Joe
    Join Date
    Oct 2005
    Posts
    30
    Liked
    0 times
    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?

  15. #30
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    22,362
    Liked
    541 times
    Blog Entries
    4
    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.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

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, 05: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, 09:46 AM
  3. what to do with old urls?
    By Jonathan in forum General Discussion
    Replies: 6
    Last Post: 08-04-2005, 04:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •