SharePoint 2013 Custom result page URL for search queries - sharepoint

I'm trying to redirect the search queries to a search center url. I've created the search center and I use the Search Settings to set a result page url (my search center results.aspx).
I've tried setting the custom page for site collection and leave the site setting on "Use the same results page as my parent". I've also tried setting the custom page url directly in the site setting. But still the search results is shown on the site's "osssearchresults.aspx" page.
Am I forgetting something? It's like sharepoint is ignoring those settings.

Have a look at the actual search box web part settings. There is a properties for Search box where you can choose to use the default or you can send queries to a custom results page URL.
See if that is where the issue is.
Try this link for further information > https://learn.microsoft.com/en-us/sharepoint/search-box-web-part

Related

Sharepoint search dynamic redirect url

I have run into an issue. I have created a custom search site where I want the user to be redirected to when searching.
I'm standing on one site and search using the search box in the suite bar.
I want to be able to see from which site I was on when I did the search. I'm hoping it's possible to send the site title in the URL, and read it from the search site.
EX. /sites/Search?q=testing&scope=Economy

Dynamics 365 - Open search page programmatically

Is there a way to open a the following page programmatically using Xrm as we can open forms or dialogs ?
Sort of, but I'm not sure its supported, the search page is presented as part of the main.aspx page. There is no obvious option to force the main page to open the search content documented.
However, if you open the search page, and debug the contents you can get a URL that points to the search page contents.
You could then append that address to your CRM URL and you will be redirected to the search page, however all the CRM menu bars are missing.
I.e. (note main.aspx is omitted) https://yourcrm.crm4.dynamics.com/externalsearch/externalsearch.aspx?option=0&sitemappath=projects%7cMyWork%7cnav_dashboards&text=

SEO-Setting website to search dynamic data

I want to set my website . It has many user profile which is kind of dynamic.
e.g. http://test.com?profile=2,http://test.com?profile=3.
Whats steps I need to make so that its show all profiles on search engine dynamically.
1) I have an Google webmaster tool
2) Added a sitemap and robot.txt for the site.
After 1 months or so(Indexing is done , as I can on Webmaster tool account)
If I search the profile(say by name) I don't see the user profile in search.
I have added the url parameters as well e.g. here profile.
Am i Missing anything?
Can you get to a profile from the home page by basic links alone?
Search engines like to be able to find your pages on their own.
Do a more specific search first. e.g. add site:test.com to your search so only your site is competing.
Check you have not blocked the pages in the robots.txt file or via the robots meta tag on the page.

Sharepoint Search Results Scopes

Currently I have a search set up on our Sharepoint 2010 server. The search works fine on the first try however after one search (aka the results page) the scope is defaulted to "this site:search".
I would like to modify the scope options on this page however I cannot seem to locate where to do so?
I would like the same scopes to display on both my results page and original search page. In summary the problem is the search is set up as a separate site and when the results page is displayed the only scope option is this site which esentially has no content. So an added bonus would be to remove the this site option from the page.
For now anyways the search has to stay as a separate site.
Thanks in advance.
UPDATE
In order to allow for additional scopes in the results page you must go to the site settings (as admin) > Search Settings > Site Collection Search Center and Enable Custom Scopes
I still need to know how to default to all site or hide this site search.
I too had the similar issue,in order to solve go to site settings->search scopes and then click displaygroups->drop down serach for
Click on Drop down serach for,a form opens where you can define serach scopes and at the bottm you can set the defuat search scope.Hope this helps
Below are the steps I had to take:
I had to set the specific search page and edit the web part settings to make sure they do NOT "Use site dropdown mode" or "Use site level defaults".
Set the dropdown mode of that webpart to be "Show, do not include contextual scopes, and default to 's' URL parameter".
In the miscellaneous section set the target search results page url to the results page in my search center. IE (/Search/Pages/results.aspx) in my case.
Add a search box to the results page with the same drop down mode as in step 2 above. I suggest navigating to your empty results page and then site actions > edit. Add the web part as normal.
Make sure you have done the step above by going to (/_layouts/enhancedSearch.aspx ) and setting the url to your search center (/Search/Pages) in my case.
I had the same problem when I used the Basic Search Site template, but not when I used the Enterprise Search Site template, which allowed me to edit Web Parts on the search AND the results page to show the scope dropdown.
To remove "This Site" from the scope list, edit both search box Web Parts and choose "Show, do not include contextual scopes."
Also, you will need to enable Publishing Infrastructure feature on the site collection before you can create a search site using the Enterprise Search Site template.
I also changed the master page on the search site to minimal.master to improve the layout.

Default to index page when navigating to a Document Library in SharePoint 2010

I have a public internet site created in SharePoint 2010. I have uploaded an index.html web page to a Document Library, which I will call "abc." Here is what I want to happen:
www.website.com/abc >> should automatically direct to index.html in that library.
Instead, when I go to that URL, I am asked to log in. My usual login information that I use to edit the site, however, has no effect, and I am eventually just taken to blank white page.
If I type the full URL, www.website.com/abc/index.html, it goes to the correct page, so I know it has been published.
The index.html page is the only item in the document library.
The web address listed in the Document Library settings is http://www.website.com/abc/Forms/AllItems.aspx. I think this is what I need to change to get it to default to index.html. Anyone know how to do this?
Thanks.
Sharepoint document libraries can only have default views for their default pages. Can you create a view to make your changes there, or edit the default view?
If not, you could always edit the default view in Sharepoint Designer and put a redirect to your page, but that's kind of hackish.

Resources