Google share button, is it possible to share content from one URL and link back to another? - google-plus

Example an online learning application that you want to share your results which are behind a logged in part of your site. So you add a public URL to your site for google to fetch the content (img, description, title):
data-href="http://www.example.com?result_id=24".
But then when someone views the post and sees the shared content and clicks the link to the site it goes to:
http://www.example.com?result_id=24
The only way I can think of is redirecting the user to http://www.example.com once they land on the shared URL.
Is there an official way or better way to do this?
Thanks

No, but there is a work around.
The URL that you share is used for both the snippet and place users are sent when they click.
However, you can put schema.org or OpenGraph markup on these pages that describes the content behind the login wall. This will allow you to specify a title, description and thumbnail. You can read more about configuring your snippet on Google Developers.

Related

Human-readable URL change

Question is the following, we have site with video. Where address is video title, which can changing all the time. For example user upload video and name it "nice video" then he rename it to "nice video in London". So in this case URL also changed from "http://example.com/video123/nice-video" to http://example.com/video123/nice-video-in-london.
From my research I found that dailymotion using canonical pointing to the page without any keywords in the URL (example.com/video123). So question which URL will be in SERP?
Question, how should we care of this? Thank you so much in advance for any suggestions on it.
Regards,
Constantine
Answer: You will put in the canonical link the link of the page that you intent to give the credit to. The page that is gonna show on SERP is the one its' link is INSIDE the canonical link tag and not the one that HAS the tag.
Why:
Page0 = http://example.com/video123/nice-video-in-london
Page1= http://example.com/video123/nice-video
The canonical link is used so u can make clear to the crawl bots the page is a "dublicated content" and the original is the "canonical link". So in your example the search engine is looking at the page 0 which is "http://example.com/video123/nice-video-in-london" and find a canonical tag. The search engine understands that this is a dublicated content and looks at the link in the canonical tag (canonical=---->original page1"http://example.com/video123/nice-video"<----) and realises that every traffic u are getting from page 1 should be added to the traffic of page 0. And for that reason the page 1 --->video123/nice-video-in-london.<--- is getting zero traffic while the page 0 --->video123/nice-video<--- is getting traffic accounted for both pages AND this page will show on SERP for obvious i think reasons.
Let me know if u have more questions on that or if you need some more details on how or why it works that way.

Google+ Share link does not work with my Website

i have a problem with sharing links of my website in Google+. So, if i want to share a link of my website (http://www.droidwiki.de/Hauptseite) G+ say, that the webpage can not be loaded. Same problem is with the Google +1 button on the page. If someone click this button, it appears a red exclamation mark. Sometimes, only the URL, but no opengraph data will show, but the most time, it only doesn't work. Other websites work perfectly with the account.
The same pages work without errors on facebook, will show the title of page and the opengraph description.
Have anybody the same problem, or a solution?
Thanks!
I'm not seeing any of the errors you're reporting.
While OpenGraph is supposed to work with Google's bot, it often doesn't work that well. Best practice is also to include schema.org microdata so Google's plus bot and search bot process it. See https://developers.google.com/+/web/snippet/ for details and http://www.google.com/webmasters/tools/richsnippets for a tool to help you test your markup.

Redirect .htaccess to different page on different domain

I tried searching for similar posts but none of them satisfied my need. Hence I have to ask a new question
I have some domain space on my university website like this <university>.edu/~<myname> which is actually <university>.edu/~<myname>/index.html
I want all the traffic from here to go to <myname>.wix.com/resume. But I don't want other pages like my <university>.edu/~<myname>/somethingelse to redirect anywhere.
Also I want the address bar to still show <university>.edu/~<myname> even when it has readirected to my site on wix.com.
Kindly let me know if this is possible.
Thanks in advance.
No browser that I know of will allow itself to be redirected to a different site, without displaying the URL of the new site in the address bar. However, there are ways that you can display content from <myname>.wix.com/resume on your page at <university>.edu/~<myname>/index.html. One way is to use a frame (or an iframe) on <myname>.wix.com/resume which would load content from <university>.edu/~<myname>/index.html. Another (perhaps more seamless) solution would be to use a server-side scripting language (such as PHP) to create a script at <university>.edu/~<myname>/index.php which would download the content 'on the fly' from <myname>.wix.com/resume and display it at <university>.edu/~<myname>/index.php.

How to build persistent element like facebook chatbar which not reload when navigate to any page?

i developed a radio stations widget (see it at my site). the problem is, i dont know how to make it persistent same like on the http://josephbeeson.com/gwapdemo/gwap.html . it's like facebook chatbar which not reload when navigate to any page. i have try n look for the demo codes but still not understand. please give step by step tutorial. i want to implement it on my social website http://www.heypy.com.
The whole page does not get reloaded, the new content is just loaded via AJAX and displayed within the current document.
To make it look to the user like he’s navigated to some other URL, the address bar content is updated using the HTML5 History API.
please give step by step tutorial.
Happy to give you the relevant keywords, so you can do research on them yourself. But won’t provide a private tutorial here, that’s not the purpose of this site. Thanks for your understanding.

Sharing a private URL in google plus

I am trying to use https://plus.google.com/share?url=<URL> to programmatically share a site to a private circle on Google Plus. It's not a problem when I use an externally visible website, but I would like to share a private URL (host on an internal network).
When I use a private URL, the plus sharing page shows a spinning icon, as though it's trying to access the internal URL for content, and the 'share' button remains dim - I cannot move forward.
I tried adding noverify=true or verify=false, etc to the GET line, but that didn't change the behavior. I suspect it can be done, because I can post private URLs via the taberareloo plugin on chrome.
Is there a way to skip probing the provided URL link, or otherwise post a private URL when posting to Google plus circles using the https://plus.google.com/share?url=<URL> mechanism?
Thanks.
No, there's no way to skip the fetch of the target page when you use the share link.
The fetch is how the snippet of your page, that is shared to Google+, is created. Without this fetch there would not actually be anything to share.
Kind of a funky workaround, but you could have a public page which is just a redirector (not a 301, but rather a javascript or meta redirect), and provide that link to G+. It would understand it to be a normal public page, while the user experience would be to get redirected to your internal link.