Instructions for creating redirect links

From Samskrita Vyakaranam
Revision as of 01:26, 14 May 2021 by Haritosh (talk | contribs)
Jump to navigation Jump to search

Most of the pages on our new platform currently have Devanagari (unicode) letters in them.

For example,

https://samskritavyakaranam.miraheze.org/wiki/2_-_धातुगण-परिचयः

gets converted internally by web browsers into something like

https://samskritavyakaranam.miraheze.org/wiki/2_-_%E0%A4%A7%E0%A4%BE%E0%A4%A4%E0%A5%81%E0%A4%97%E0%A4%A3-%E0%A4%AA%E0%A4%B0%E0%A4%BF%E0%A4%9A%E0%A4%AF%E0%A4%83

as they may or may not be able to process unicode characters directly.

Hereafter in this article, the term "base URL" for the new miraheze site will refer to https://samskritavyakaranam.miraheze.org/wiki/ .

Creating redirect links with roman characters

For the page mentioned above, the equivalent page on the old platform had the URL

https://sites.google.com/site/samskritavyakaranam/01---dhAtugaNaparicayah/2---dhAtugaNa-paricayaH .

If we consider the "base URL" in this case to be https://sites.google.com/site/samskritavyakaranam/ , then the page-specific suffix is whatever comes after it, i.e. 01---dhAtugaNaparicayah/2---dhAtugaNa-paricayaH . On browsing through various pages on the old platform, we notice that every page with content has its own specific suffix which consists only of roman letters, numbers and symbols. Our goal is to replicate the entire page hierarchy on our new platform just like it exists on the old one.

Thus, the first step is to create new pages using the roman letter naming. The URL of these new pages would be the new base URL followed by the page-specific suffix that we get from the old platform.

So, in this case, our new page would have the URL

https://samskritavyakaranam.miraheze.org/wiki/01---dhAtugaNaparicayah/2---dhAtugaNa-paricayaH

Since this page does not exist yet, If we try pasting this new URL in our browser and going to it, we see something like this:

While the above page does not exist yet, we do have the option of creating it. So, we then click on 'Create' as seen in the above image. That gives us the following message: