Redirect SharePoint 2007 Site Collection URL - sharepoint

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)

Related

How to redirect sharePoint Online modern site Page

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

Rewrite URL for IIS

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

site - mandatory redirection

My company was divided in two divisions so the sites which were running like http://app.mycompany.com
now they should run as,
http://app.mycompany-divisionone.com
How I should proceed to redirect the requests to the right web address, because many users have his bookmarks using the old domain.
Also there are bookmarks like http://app.mycompany.com/myform.asp
All this is running into a intranet so I could change IIS, DNS, etc..
Using IIS 6 and Windows 2003.
Thanks.
Microsoft has a page on this -
Redirecting Web Sites in IIS 6.0
Hope it helps.

Cookiesless authentication in sharepoint

I have a sharepoint site which works on form based authentication and now I want that sharepoint site to have cookieless authentication.
Basicaly in .Net we have option in web.config to modify the session state and to make cookieless false but how do we implement the same for sharepoint sites.
Please help me in finding best solution
I'm not sure about SharePoint 2010, but SharePoint 2007 does not support cookieless authentication:
“Cookieless” Forms Based Authentication (FBA) in SharePoint 2007
So… MOSS and WSS 3.0 are both now solidly based on the ASP.NET 2.0 platform, so this should all work in a SharePoint site, right? Well, sort of. So basically, no – not at all. Once you update your web.config to use "cookieless mode" everything appears to be working at first. You authenticate, and the ticket magically appears in your URL. The problems start to appear once you begin to navigate around your site. Some URLs have the ticket in them, and some don't. It basically comes down to this – if a URL is written using a standard ASP.NET control, or if you write a relative URL yourself, the ticket is preserved and cookieless FBA works. However, if a SharePoint control writes the URL, it's absolute, the ticket is not written, and FBA breaks.
We ran this past our PSS contacts, and apparently this is a known "issue", and it's not slated to be addressed in the 3.0 product. Basically, the feature is not supported. It no doubt has something to do with SharePoint writing URLs to support Alternate Access Mappings. There's really no reason why it couldn't write them relatively, but it obviously doesn't.
You can reduce a number of cookies by using Claims Based Authentication.
You need to setup Security Token Service as described in this blog post http://blog.sharepointsite.co.uk/2010/11/change-to-session-cookies-for-claims.html
However, note that you'll lose Client Integration, as Office use cookies from IE.

URL Rewrite Sharepoint Search issues

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

Resources