How do I create an automatically redirected SharePoint page?

Source: Internet
Author: User

I browsed around on msdn and saw someone asking me how to automatically jump to another page when a site is clicked.

This requirement is a bit boring. It is certain that the site planning is not well done. Otherwise, why does it make a dummy page jump like this? Anyway, this requirement can still be solved.

 

The procedure is as follows:

1. Create a new blank web part Page.

2. Insert a content editor web part on the page.

3. Modify the web part and insert the code in the Source Editor.

The Code is as follows:

4. Save. Note! Make sure to publish a major version. Otherwise, the jump takes effect only for the administrator who can see the draft version.

5. Modify the site's welcome page to make the new page a welcome page. In this way, when the site's link is clicked, it will be redirected to other URLs.

 

In addition, when you want to modify this link, you can choose:

1. Delete this page and create another one.

2. Add "? Contents = 1 ", open the web part editing page, delete the redirected web part, and add it again.

 

For javascript jump, see:

Example of JavaScript jump script

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.