A user has given me three tinyurls and asked me to recover the data from the corresponding pages.
Clicking on the links gives me this message:
The page you were trying to reach could not be found. This could be because:
The page does not exist.
The page exists, but you do not have permission to view it.
Since the page could exist but I may not have permission, my first challenge is therefore to determine whether or not the page does exist!
So, is there a way of going from the tinyurl to the full URL for the page so that I can determine whether or not the page actually exists?
Thanks.
I can only speak for Confluence 5.10.8 but I think you can tell from the redirect what is what regarding the pages. After calling your tinyurl, you will get either redirected to:
/pages/viewpage.action?pageId=123456789, which translates to "The page exists or is in trash, but you do not have permission to view it" or you will be redirected to /pages/tinyurl.action?urlIdentifier=ABCDE which means, that the page is deleted and also purged from trash.
Ah, OK. I'm getting redirected to /pages/tinyurl.action ...
Thanks for the assistance.
Philip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To retrieve the original Confluence URL from a TinyURL, you can follow these steps:
When you visit a TinyURL link, you will be redirected to one of two possibilities:
If the page exists or is in the trash but you don't have permission to view it, the URL will redirect to something like /pages/viewpage.action?pageId=123456789.
If the page has been deleted and purged from trash, the redirect will go to /pages/tinyurl.action?urlIdentifier=ABCDE.
From this, you can determine whether the page exists or if it has been deleted. If you're redirected to /pages/tinyurl.action, the page has been removed entirely.
In my case, when I worked with links for my website related to SASSA status check, I also used TinyURL to create shortened links. The same method helped me verify if the pages were still active or removed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.