Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Shortening of URL

Avatar

Avatar
Validate 25
Level 3
narayanank84409
Level 3

Likes

5 likes

Total Posts

94 posts

Correct Reply

8 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 3
narayanank84409
Level 3

Likes

5 likes

Total Posts

94 posts

Correct Reply

8 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
narayanank84409
Level 3

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
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

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
Validate 25
Level 3
narayanank84409
Level 3

Likes

5 likes

Total Posts

94 posts

Correct Reply

8 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 3
narayanank84409
Level 3

Likes

5 likes

Total Posts

94 posts

Correct Reply

8 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
narayanank84409
Level 3

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.