0

I have a subsite called blogsite and the URL looks like this: http://abc/sites/SiteCollection/blogsite

I changed the URL by mistake as Home.aspx by navigating to the URL blogsite/_layouts/15/prjsetng.aspx.

The subsite URL is now http://abc/sites/SiteCollection/Home.aspx

But when i navigate to the site its not working. How can i update the subsite URL using javascript object model?

0

Please use SP.Web.serverRelativeUrl for setting the SubSite url via JSOM.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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