How to index Dynamic url page - seo

I have a site that look like this:
Main page (index.php)
where a user can research a business.
To display result at page (search/index.php), the page url will look something like this:
/search/index.php?what=plumber&where=montreal&page=1
The page will generate dynamic link to access the business profile found. When you click on one of those links, you get here:
/entreprises/index.php?companyName=Something
How can I get the previous link to be indexed on Google?

This appears to be a good situation for the canonical URL tag. You'll want to specify a single URL for the page in question, and then other variations of that url getting to the same page (i.e. searches, tags, etc.) will refer to the stated canonical url as the actual url for SEO purposes.
Google has a detailed description of the tag here:
https://support.google.com/webmasters/answer/139394?hl=en

Related

Incorrect title with link in google crawler

Recently I found a problem in my website, when I search a movie name in my site I found two link with the same title.
Second search result has following problems:
The link refers to "shahrzad" movie
You find "mad max" movie name in the url
You find "abad o yek rooz" movie name in the title
These data are about three different pages. I got confused what's going on here.
Recently I found some other link like this in google search
Wrong URL that google show
Correct URL that google show
Check head of your html page, maybe you use canonical tag in a wrong way, for example if you set another url to href attribute, you will have some serious SEO problem:
<link rel="canonical" href="<some_url>" />
For more information read this link.

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.

How do I setup a robots.txt which allows all pages EXCEPT the main page?

If I have a site called http://example.com, and under it I have articles, such as:
http://example.com/articles/norwegian-statoil-ceo-resigns
Basically, I don't want the text from the frontpage to show on Google results, so that when you search for "statoil ceo", you ONLY get the article itself, but not the frontpage which contains this text but is not of the article itself.
If you did that, then Google could still display your home page with a note under the link saying they couldnt crawl the page. This is because robots.txt doesnt stop a page being indexed. You could noindex the home page, though personally I wouldnt recommend it.

IBM Quickr API: get friendly URL

I'm using the "/myqcs/rest/places/feed" URL to get all places, and I need to extract the friendly url name. I think the only way to do that is to look at the end of the "alternate" link.
For some places, the "alternate" link looks like this:
<link href="https://host/lotus/myquickr/driver-competitions-community" rel="alternate" type="application/atom+xml">
but for some, it looks like that:
<link href="https://host/lotus/myquickr/!ut/p/c4/04_SB8K8xLLM9MSSzPy8xBz9CP0os3hDC19DY0NfE0P3UBNHA09DY39nJz8Pz9AwU_2CbEdFALQNZ3I!/" rel="alternate" type="application/atom+xml">
So I can't get the friendly url from the second link, there's just a UID.
Why is that, and what can I do?
For a page to be accessible via a friendly URL both the page and all of its parent pages must have friendly names assigned to them. The friendly URL is made up of all the friendly names in the page hierarchy. e.g. for the URL my/nested/page we have 3 pages assigned friendly names 'my', 'nested' and 'page'. If the 'nested' page did not have a friendly name assigned to it then a friendly URL can not be generated for the 'page' page.
For the pages that just generate a UID verify they have friendly names for their full hierarchy.
If the pages have a full path of friendly names assigned then I think you will need to delve into the Portal Navigation Model SPI and generate your own output, see:
http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/index.jsp?topic=/com.ibm.wp.ent.doc/wps/dgn_ptlnavig.html
http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/topic/com.ibm.wp.ent.doc/wps/nav_state_spi.html
I think I found the solution - when you are an admin, you can make make yourself a site manager, and then the friendly URL is used by Quickr, so it probably boils down to site membership.

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

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.