I am developing a SharePoint Portal in Microsoft Sharepoint 2010.
The fact is that I activated URL Rewrite module on Windows Server 2008 R2 IIS 7.
I am rewriting urls like this:
English/News/3/Title+Of+The+News into
English/News.aspx?id=3&title=Title+Of+The+News
All works well, the problem is that when I activate Search features, its seems that SP is not indexing the rewritten urls.
It only indexes one time the URL : English/News.aspx, but will not index the rewritten URLs such as (that targets the same page):
English/News/3/Title+Of+The+News
English/News/4/News2
All the rewritten links are available from the home page and many other pagesof my site, so I do not understand why SP is not indexing that links.
Any ideas?
Thanks in advance!
ok, I found it out.
I needed to add a Crawl Rule that index complex urls in Sharepoint.
Can be found here:
http://www.venkat.org/2008/07/how-to-index-complex-url-in-moss.html
Related
Sharepoint Online modern site Redirect
Is it feasible to redirect sharepoint page to another site ?
From https://xyz.sharepoint.com/ccg/sitepages/abc.aspx
To https://pweroApp.com/xyz
Below mentioned are my findings and efforts.
It can be done in sharePoint classic by simply writing javascript code. But in modern site we can't write code there is no web part that support code.
We can redirect the page using "news link" but it only works for home page. It means I can only redirect the sharePoint home page, not any other sharePoint page. When I am trying to do so there is a lag in the redirection.
For reference: https://www.sharepointdiary.com/2020/02/sharepoint-online-how-to-create-redirect-to-another-site.ht
To add a script or your own code, you could write a webpart with help of SPFx.
There is a tutorial by Microsoft:
https://learn.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part
Otherwise you could simply put a text field with a link on your site, which redirects to your other site.
There is a thread that lists the steps to enable the custom modern script editor web part on SharePoint Online modern page, you can refer to it to install the custom web part, then add your code to the web part.
https://social.technet.microsoft.com/Forums/en-US/d4b8b3c4-8950-4407-9120-204b80fc35f9/sharepoint-online-best-practice-install-modern-script-editor-web-part-for-sharepoint-online
a.png
I work for an organization which has its intranet on Joomla 3.6.4 and hosted on IIS.
The company plans to revamp the main menu of the site and hence all the old url's need to be redirected to the new ones.
I tried adding Rewrite Maps and rules via the IIS Manager but no luck.
Any tips or good documentation I can refer to? any help would be greatly received.
Thanks,
Pooja
Hope you could help!
I would like advice on the best option to redirect the top level site collection URL to an alternative address already setup in Alternate Access Mapping.
Using the CEWP to redirect via html/script
IIS 6.0
Onve the web application was setup/installed, a few months later we decided to change the URL (Business requirement), therefore a redirect is advised without deleting/over writing the exisiting content as this must stay intact.
Please help how I can acheive this, For Example, primary URL is http://server.company.org and would like to redirect to http://name.company.org
Our setup is MOSS 2007, Windows Server 2003 SP2 64Bit, IIS 6.0
Here's some great information from a Microsoft MVP that describes in detail your options for URL redirects in Office SharePoint 2007. This blog post has helped me several times in the past since I don't setup redirect very often. (I try to use redirects as little as possible)
I have developed a publishing portal in MOSS 2007 environment. I have some pages whose urls look difficult for end users to read, and are also causing search engines to not index my pages properly.
I went through some articles for implementing the 'friendly url' in SharePoint. I stumbled upon some external tools like 'tinyurl.com', but I don't want to use third party tools for accomplishing this.
I downloaded the 'URL Rewrite' extension for IIS from Microsoft as suggested by many. I tried setting it up, giving it the internal URL name and friendly URL name while creating a rule. The request is made to the friendly URL instead of the internal URL. I don't know where am going wrong.
Should I keep trying to make things work with this extension, or is there another feasible approach I can try?
How would you go about having WSS search index content that's inside a webpart/pulled from an external source and presented in a SPGridView?
You probably already know this, but if you go to Site Settings -> Search Visibility you will see a section stating:
This site contains fine-grained permissions. Specify the sites ASPX page indexing behavior: ...
If you choose "Always index all ASPX pages on this site" it should index the content in your web part, but only as the crawler sees it, so security trimming would not apply. It is basically a web crawl and not a SharePoint content crawl.
I know you said WSS, but in MOSS you might be able to take this one step further if the above did not work out and use a web site search on your SharePoint site. I have done plenty of web site searches (it does not work perfectly), but have not tried to explicitly do a web site search on a SharePoint site so I'm not certain this will work.
Lars (who co-wrote "Inside the Index and Search Engines: MOSS 2007") is pretty active on StackOverflow so maybe he'll chime in.
Also in MOSS: Have the data you are displaying available as for instance a web service / page in a different site also. In Moss you can add Federated Search locations to be included in the Search results.