Shortening of URL

Avatar

Avatar

narayanank84409

Avatar

narayanank84409

narayanank84409

09-03-2016

Hi,

We are planning to do shortening of URL in our project.

Could anyone suggest how we can do?

1. How we can configure in local/Development Instance. 

2. How I  can do in Apache redirection rule for Prod environment.

3. What kind of settings do I need to in dispatcher side for shortening URL?

Is there any settings do I need to move the file from dev to prod instance.

Please suggest

 

Thanks,

Kannan

Replies

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

09-03-2016

You can make use of the Apache org.apache.sling.rewriter functionality. Details here: 

http://sling.apache.org/documentation/bundles/output-rewriting-pipelines-org-apache-sling-rewriter.h...

We have an example of using this with AEM here: 

https://helpx.adobe.com/experience-manager/using/creating-link-rewrite.html

Hope this helps. 

Avatar

Avatar

narayanank84409

Avatar

narayanank84409

narayanank84409

09-03-2016

Thanks for the reply Smac.

Scenario:

www.xyz.com --> Internally it will refer http://system:portnumber/content/en/english/xyz.html

1. how we can push/create our configuration files for Short URL in Akamai CDN.
2. What kind of configuration/files  do we need to write in our dispatcher side for this Short URL?
3. How can we push settings from Dispatcher to CDN (or) Do we need to write redirection rules in both the places?
4. If we are doing via etc/map in our development environment, How I can move to dispatcher from dispatcher how I can move to Akamai?

Am not sure about the process and files.
Please assist me or link to read.