Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
ogillAccepted solution
Adobe Employee
Oct 16, 2015 2:29 AM UTC

Hi Subrato,

 

the simplest way to do this is to use the resource resolver for outgoing links and use Apache mod_rewrite rules for incoming rewrites(this caches to the correct location in dispatcher)

Alternatively you can use /etc/map for more complex rewriting, for example if you have multiple domains.

I'm not sure I understand the issue you are having when you sya: "but its working upto 3 levels of child page not for the entire website"  Are you saying links are not getting rendered correctly? Can you give an example of what is not working?

Regards,

Opkar

[2] http://brian-vaughn.blogspot.de/2013/12/aem-url-rewriting.html

4 replies

subrato_kha
Level 4
Oct 16, 2015 2:29 AM UTC

hi

Yes the actual issue is all the links in the pages are not getting rendered correctly

As u can c in the attachment 

the links in the pages of English are working fine and its navigating correctly but links in the child pages of English (eg: Contact) are not getting rendered properly.

When i click on any link in Contact page it gets navigated but it adds /content/geometrixx/ in the URL

Translate
ogillAdobe EmployeeAccepted solution
Adobe Employee
Oct 16, 2015 2:29 AM UTC

Hi Subrato,

 

the simplest way to do this is to use the resource resolver for outgoing links and use Apache mod_rewrite rules for incoming rewrites(this caches to the correct location in dispatcher)

Alternatively you can use /etc/map for more complex rewriting, for example if you have multiple domains.

I'm not sure I understand the issue you are having when you sya: "but its working upto 3 levels of child page not for the entire website"  Are you saying links are not getting rendered correctly? Can you give an example of what is not working?

Regards,

Opkar

[2] http://brian-vaughn.blogspot.de/2013/12/aem-url-rewriting.html

Translate
subrato_kha
Level 4
Oct 16, 2015 2:29 AM UTC

I tried using etc/map node and using ResourceResolverFactory but its working upto 3 levels of child page not for the entire website.

I need the change should be applied for the entire website.

Translate
Oct 16, 2015 2:29 AM UTC

You can use Resource Mapping to define redirects, vanity URLs and virtual hosts for AEM. 

Check this out: http://docs.adobe.com/docs/en/cq/5-6-1/deploying/resource_mapping.html

Translate