Redirect Microsoft Office 365 Site

  • Knowledge Base
  • Mobile Website Builder

Overview

Office 365 sites can be redirected, but the method is a bit unconventional. 

Microsoft Office 365 shies away from allowing custom JavaScript in their sites which is why this method uses a bit of a workaround. In order to incorporate custom JavaScript into a 365 site you have to do it through the PayPal button widget.

Steps

Add a PayPal module to the Office 365 site and replace the code between the <form> tags with the redirect script that we provide in the editor under step 4. This should result in something that resembles this:

<form action=""><input type="image" style="display:none;" /> 
<script src="http://static.dudamobile.com/DM_redirect.js" type="text/javascript"></script> 
<script type="text/javascript">DM_redirect("INSERT_MOBILE_URL_HERE");</script> 
</form>

Just replace INSERT_MOBILE_URL_HERE with your mobile url (keep the quotation marks). Once that's been placed in your site (ideally near the top of the page) your site should redirect properly.

 

Note: This redirect method will need to be used on all pages which you want to make mobile friendly.

×

Priority Phone Support

English phone support is available 18 hours a day,
Monday through Friday, 3am to 9pm (EST).

United States +1 866-776-1550 3am to 9pm (Eastern)
United Kingdom +44 (0)800-011-9071 8am to 2am (London)
France +33 (0)9-75-18-84-74 9am to 3am (Paris)
Israel +972 (0)3-720-8922 10am to 4am (Jerusalem)
Australia +61 (0)2-8880-9166 7pm to 1pm (Sydney)
To schedule a call in French, Portuguese, Hebrew or Russian, please email us at prioritysupport@duda.co
×

Please Log in as a DudaPro

Priority Phone Support is available exclusively to DudaPros. Log in to your DudaPro account now to see our international support numbers.

Log In
Not a DudaPro? Start a free trial now!