Difference between revisions of "ChatRoom URL redirect"

From Ethora iOS & Android ERC-20 & NFT tokenized community platform
Jump to navigation Jump to search
(Created page with "For QR code and link sharing capabilities, Ethora engine short links redirect. Ethora app can also be linked directly if it's installed on the device, but web redirect is pre...")
 
Line 1: Line 1:
For QR code and link sharing capabilities, Ethora engine short links redirect.
For QR code and link sharing capabilities, Ethora engine uses a short link redirect feature.
 
== Short URL & Universal Linking ==


Ethora app can also be linked directly if it's installed on the device, but web redirect is preferable as it covers more compatibility scenarios.  
Ethora app can also be linked directly if it's installed on the device, but web redirect is preferable as it covers more compatibility scenarios.  
In this scenario:
# If Ethora-based App is installed on User's device, the link will open the app and automatically navigate to specific Chat room / Space
# If App is not installed yet, the web page will open inviting the User to download the App from iOS or Android appstore (automated user agent detection and redirection might also be implemented here).
== Short link format ==


The default domain name and URLs used for redirects is:
The default domain name and URLs used for redirects is:


eto.li/go/<roomID>
'''eto.li/go/<roomID>'''
 
Where roomID is the public key of the required Room / Space.
 
== Redirection prefix ==
 
You may also specify your own redirection prefix in the Config file.
 
 
== Creating your own (short link) website for your App==
 
You can create your own website for the above purposes.


You may also specify your own redirection prefix in the Config.
In case you use Universal Linking (default option in Ethora engine), you don't need to set up any redirection to the App and you can simply focus on creating the relevant marketing content / landing page for your iOS and Android applications.  


You can create your own redirect at your own domain by using .htaccess redirection method, for example, like this:
In case you need to set up redirection to chat Rooms / Spaces from your website, you may do it using .htaccess redirection method, for example, like this:


<code>
RewriteEngine on
RewriteEngine on
RewriteRule ^(.\*)$ <APP_NAME>://chat/$1 [L,R=301]
RewriteRule ^(.\*)$ <APP_NAME>://chat/$1 [L,R=301]
</code>

Revision as of 12:12, 14 September 2021

For QR code and link sharing capabilities, Ethora engine uses a short link redirect feature.

Short URL & Universal Linking

Ethora app can also be linked directly if it's installed on the device, but web redirect is preferable as it covers more compatibility scenarios.

In this scenario:

  1. If Ethora-based App is installed on User's device, the link will open the app and automatically navigate to specific Chat room / Space
  2. If App is not installed yet, the web page will open inviting the User to download the App from iOS or Android appstore (automated user agent detection and redirection might also be implemented here).

Short link format

The default domain name and URLs used for redirects is:

eto.li/go/<roomID>

Where roomID is the public key of the required Room / Space.

Redirection prefix

You may also specify your own redirection prefix in the Config file.


Creating your own (short link) website for your App

You can create your own website for the above purposes.

In case you use Universal Linking (default option in Ethora engine), you don't need to set up any redirection to the App and you can simply focus on creating the relevant marketing content / landing page for your iOS and Android applications.

In case you need to set up redirection to chat Rooms / Spaces from your website, you may do it using .htaccess redirection method, for example, like this:

RewriteEngine on RewriteRule ^(.\*)$ <APP_NAME>://chat/$1 [L,R=301]