6

I'm working on updating a bunch of Google Sites-hosted knowledge base entries.

Aside from content and formatting updates, I want to fix some of the URLs since many of them are absurdly long sentences rather than easy to read keywords. For instance:

sites.google.com/mysite/iamaskinghowtoredirectagooglesitespageafterrenamingit

instead of

sites.google.com/mysite/google-sites-redirect-renamed-url

It is very easy to change a page's URL in Google Sites, however, the old URL does not get redirected to the new. This seems like it'd be an easy thing for Google to accomplish, and yet...

Is there a way that I can make this happen on my end, or am I (and my users, and our search result positions) stuck with silly, unreadable URLs for eternity?

Edited to add that the reason the URLs were given this absurd format is due to an, I believe, ill-conceived understanding about SEO.

1
  • As a work around you can use bitly.com to shorten your URL..Hope you like it..
    – Vembu
    Dec 30, 2014 at 22:07

2 Answers 2

2
+50

You can place a URL Redirector gadget on the page and configure it to redirect to the other page.

Edit the page, click Insert. Scroll down to More…

Type URL Redirector in the search box to find it.

Insert it in your page and configure it.

1
  • 2
    It's worth noting that this tool only seems to be available in the older version of Google Sites. After spending 30mins or so trying to find an equivalent for the new Google Sites, I've concluded there isn't anything that works. Jul 30, 2020 at 0:45
1

If you have access to the old URL, sites.google.com/mysite/iamaskinghowtoredirectagooglesitespageafterrenamingit, you can use either JavaScript redirect:

<script language=javascript>
function redirect(){
  window.location = "http://example.com";
}
</script>

<body onload="redirect()">

</body>

Or simply HTML redirect, like this:

<meta http-equiv="refresh" content="0; http://yourpage">

And if the two URLs show you the same content, I do prefer to add some JS to check the URL if its new or old. In case of old URL → redirect to the new one.

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.