I have added an incorrect script text/URL into the embedded Code of a web part content editor.

<meta http-equiv="refresh" content="0;url=http://spfarm.rootname.com/sites/SITENAME/SitePages/Home.aspx">

Now, the site URL fails (The webpage cannot be found) I forgot how to get back into edit to fix ! I am only a tester not a developer, however, I do have all access rights.

  • 1
    Hi @User62105, Welcome to SharePoint StackExchange community. we don't use salutations or signatures here like we do in other forums. Happy StackExchanging, :).
    – AmitWiki
    Nov 24, 2016 at 2:46

2 Answers 2


Try appending "?Contents=1" to your site's URL to put the homepage into a special web part maintenance view. You can find and delete your snippet/content editor from there.

  • Click on (Settings) icon > Click Edit Page

enter image description here

  • Find the content editor web part in your page >Click on it.

  • From the above ribbon > at Format Text tab > Click on Edit Source

Note: If it's a script editor web part , just after editing the page click edit snippet

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.