why amp page is shown in google result on desktop - redirect

I have two version of the page like amp and non-amp but whenever i hit the amp url in the browser of the desktop, it showing the amp pages.
but I want to it redirect to non-amp version on desktop
how do i overcome this issue
I added canonical url on amp page and ampurl on non-amp page ,still issue is there

Related

Facebook link to my redirect page opens to error 404 page on desktop but not mobile

Our company has a page on the website for a new podcast. Each episode has a unique URL. In the podcast, however, the host simplifies directing people to the relevant page by simply giving our website URL and /X (where X is the episode number).
What we've done is set up a redirect for each episode to the actual show page URL.
For instance: https://www.eliteinc.com/show/episode-1-the-power-of-day-one/
If you go to www.eliteinc.com/1 you will be taken to the correct episode page.
Here's the problem in Facebook.
When I place the www.eliteinc.com/1 link in Facebook, the preview generates just fine and if you click on the link in the post text it works.
However, if I click on the link preview that is generated, it takes me to an error 404 page:
https://www.eliteinc.com/1?fbclid=IwAR1rL41HqlLGG82vJ9bpUCV1KOKG_f3XXhEvnxk5j4vN6U0z5gJhxuOThRI
The link does open correctly on mobile.

why twitter and facebook don't redirect to amp pages?

I've done amp pages(validation ok) but twitter and facebook redirect to a usual page instead of amp. Should I somewhere turn on this option in tw and fb?
Twitter supports AMP if the pages are annotated with AMP discovery tags. This means that you will need to include a link rel="amphtml" tag. You can check the Twitter documentation on AMP here.

What restrictions are there on the Facebook Social Plugin integration?

I'm using the Page plugin feature in order to generate a rendered facebook events feed for a XAML application I'm working on.
https://developers.facebook.com/docs/plugins/page-plugin
On the page, it gives you the option to put in a facebook link, and it will then render a timeline or events page in which you can grab HTML code from. I am taking the Iframe code and harvesting the URL, then having it render within a webview in XAML. The issue I am running into is that facebook won't render the page I need. This prevents me from getting the URL out of the Iframe.
Does anyone know what sort of restrictions facebook places on rendering page plugins?

Visiting my custom Facebook tab app doesnt work on mobile?

I've currently setup a custom tab app on my fanpage - visiting this is working perfectly fine from my browser.
However when visiting the same url from my mobile, I just get some red text on Facebook saying "The page was not found".
I've defined the following (noteworthy) settings for the app:
Namespace (which gives me a canvas page)
Canvas url
Secure canvas url
Page tab url
Secure page tab url
I then also tried to fill out the "Mobile site url" with the same url as the canvas url - thinking this was the missing brick? But atleast not difference.
Any ideas?
because in your mobile browser it will redirect to the m.facebook.com and this functionality is not available for the app users.
You can't achieve this functionality exactly but you can work around Facebooks limitations by providing a canvas app url, and using that to redirect mobile users to a mobile version of your app, and desktop users to the page tab version of your app.
Detailed instructions here:
https://stackoverflow.com/a/15860533/121285

Facebook Page Publish link to page tab (iframe)

I have a wordpress site which is meant to use via Facebook page tab. I have made a page tab and added an iframe tag which opens the site into the page tab. I have added a Facebook plugin (http://wordpress.org/extend/plugins/facebook/) to publish new posts to my page's wall to get more traffic to the site. All this works perfectly.
My problem is the following:
The plugin publishes a link to e.g. www.mysite.com/fb/new-event/. The site is meant to use only via the page tab, not at that domain. The link should be customized to open the page in the Facebook page tab via iframe.
Does anyone have an idea how to fix this or how to achieve the solution another way?
I think that it can be done by customizing the link to point first at the right Facebook page tab and then inside the iframe to the correct page.