vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Photopost Pro Canonical Links Tag for SEO (https://vborg.vbsupport.ru/showthread.php?t=212511)

cellarius 07-16-2009 09:46 AM

If you're running the vBSEO Sitemap Generator:

Quote:

Originally Posted by cellarius (Post 1849825)
I corrected an issue and added seperate database support to benFF's addon for Photopost Pro:
http://www.vbseo.com/f44/sitemap-add...tml#post224775


jw00dy 07-16-2009 04:13 PM

Thank you cellarius!

Worlocked 07-21-2009 07:20 AM

This is a very nice and easy fix to one of the worst issues with PP that they will never fix. Marked installed.

I have one question/request though. I have the spider-friendly URLs on, but I used to have a sitemap generator that produced the sitemap with the standard URLs (showphoto.php?photo=XXX). As a result, I have a lot of photos indexed with both versions. This plugin as is works with both, which means it will produce a canonical URL for each version. Is there a way to make this check which type of URL is selected in the admin options of PP, and then produce only that format of canonical URL?

For instance, if you have spider friendly URLs active, and a search engine visits a showphoto.php?photo=XXX page, the noindex meta would be inserted along with the canonical URL as showphoto.php/photo/XXX ? That would be excellent if its possible. Either way, you've managed to do more than PP has for years with this one little plugin.

Xencored 07-21-2009 12:55 PM

Hi cellarius
sorry for my dumb arse question but would this work for Vbgallery (made by photopost)
i know it says photopost pro just trying my luck here ;)

Cheers

cellarius 08-03-2009 07:30 AM

Quote:

Originally Posted by Worlocked (Post 1852711)
I have one question/request though. I have the spider-friendly URLs on, but I used to have a sitemap generator that produced the sitemap with the standard URLs (showphoto.php?photo=XXX). As a result, I have a lot of photos indexed with both versions. This plugin as is works with both, which means it will produce a canonical URL for each version. Is there a way to make this check which type of URL is selected in the admin options of PP, and then produce only that format of canonical URL?

That would be possible, but for your problem I'd say it would be the wrong path. In your place, I'd decide which URL I want to use, and then implement a 301-redirect via htaccess to redirect the other. This way, you get the "wrong" URLs out of the search engines.

Defkalion 08-03-2009 09:04 AM

Cool, thanks. Is there any way to check if this works after we install it, and somehow check the results after a few days/weeks on google somehow?

cellarius 08-03-2009 09:21 AM

Quote:

Originally Posted by Defkalion (Post 1860608)
Cool, thanks. Is there any way to check if this works after we install it

Of course. Just check the html source code in your browser. The meta tag will be visible there.
Quote:

and somehow check the results after a few days/weeks on google somehow?
Use Google Webmaster tools. There you can get information on how many and which pages are listed in the Google index.

cellarius 08-03-2009 09:22 AM

Quote:

Originally Posted by animemike (Post 1852841)
Hi cellarius
sorry for my dumb arse question but would this work for Vbgallery (made by photopost)
i know it says photopost pro just trying my luck here ;)

As you said: Photopost Pro, not vBG.

Worlocked 08-04-2009 08:43 AM

Quote:

Originally Posted by cellarius (Post 1860567)
That would be possible, but for your problem I'd say it would be the wrong path. In your place, I'd decide which URL I want to use, and then implement a 301-redirect via htaccess to redirect the other. This way, you get the "wrong" URLs out of the search engines.

I actually tried that before, but I couldn't come up with any redirect rules that would accomplish it.

klaush 09-01-2009 01:51 PM

Have to uninstall this because of this issue.

Any idea what causes this error?


All times are GMT. The time now is 11:10 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01076 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete