SharePoint '03 to Office365
4 posts
• Page 1 of 1
SharePoint '03 to Office365
Hello,
I want to redirect any links a user may have from this url:
http://sharepoint/sites/myteamisawesome
To this url:
https://mycompany.sharepoint.com/sites/myteamisawesome
How would I do this?
I want to redirect any links a user may have from this url:
http://sharepoint/sites/myteamisawesome
To this url:
https://mycompany.sharepoint.com/sites/myteamisawesome
How would I do this?
Re: SharePoint '03 to Office365
Hello,
It should look like this:
RewriteBase /
RewriteCond %{HTTP_HOST} ^sharepoint$ [NC]
RewriteRule ^(sites/myteamisawesome.*)$ https://mycompany.sharepoint.com/$1 [NC,R=301,L]
It should look like this:
RewriteBase /
RewriteCond %{HTTP_HOST} ^sharepoint$ [NC]
RewriteRule ^(sites/myteamisawesome.*)$ https://mycompany.sharepoint.com/$1 [NC,R=301,L]
Re: SharePoint '03 to Office365
What if the target URL is different? For example https://mycompany.sharepoint.com/sites/teams/myteam
Re: SharePoint '03 to Office365
Hello,
>What if the target URL is different? For example https://mycompany.sharepoint.com/sites/teams/myteam
Then you should explicitly specify it in the rule:
RewriteBase /
RewriteCond %{HTTP_HOST} ^sharepoint$ [NC]
RewriteRule ^/myteamisawesome/?$ https://mycompany.sharepoint.com/sites/teams/myteam [NC,R=301,L]
>What if the target URL is different? For example https://mycompany.sharepoint.com/sites/teams/myteam
Then you should explicitly specify it in the rule:
RewriteBase /
RewriteCond %{HTTP_HOST} ^sharepoint$ [NC]
RewriteRule ^/myteamisawesome/?$ https://mycompany.sharepoint.com/sites/teams/myteam [NC,R=301,L]
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 35 guests