Please look this forum...http://forums.adobe.com/message/5545732#5545732..
localhost_any has sling match="abc.com/ABC/" and internalredirect has "abc.com/content/abc/" so when i access website abc.com/ABC i see current path in browser modified like http://abc.com/ABC...this is fine what i expected. but when i accessed with direct(complete URL). It resulted shortened/modified URL in browser.
.i.e if type direct URL "http://abc.com/content/abc/en.html" It redirects to http://abc.com/ABC/en.html rather it should show same complete URL in browser.
I have tried with another localhost_entry into /ect/map/http where sling:match= "abc.com/content/abc/ and internalredirect=" abc.com/content/abc....It appears that this approach is not correct.
Could you please suggest something on this line?
Thanks Chandra
Solved! Go to Solution.
Views
Replies
Total Likes
Chandra, if you need to rewrite links to match the redirect, there is an example in the docs about using Sling Rewriter:
scott
Views
Replies
Total Likes
Hello Chandra,
Based on above example it seems like your system has been configured to map above mentioned url accordingly. To validate it plz go to http://<host>:<port>/system/console/jcrresolver to see all your mapping and also you can use resolver configuration to test your use case. If you wont able to find this here then certainly check your web server redirection configuration as well.
Please let me know if you need more information.
Thanks,
Pawan
Views
Replies
Total Likes
Chandra, if you need to rewrite links to match the redirect, there is an example in the docs about using Sling Rewriter:
scott
Views
Replies
Total Likes
Did you try the approach suggested in this knowledge base article:
http://helpx.adobe.com/cq/kb/HowToConfigureLinkRewriting.html
Views
Replies
Total Likes
I walked through to Adobe PS and i am to hear from them..Thanks for your response and advice but none of them helping.
Views
Replies
Total Likes
Create two entry in http map.
abc.com/module1
abc_com/module2
Set intrenalredirect to /content/site and please see what happens.. navigation link for module1 will appears for module2 as well ...more details.
if you access module1 your navigation will look like http://abc.com/module1/page1.html and http://abc.com/module1/page2.html
Now try to access through module2.. your navigation will still look like http://abc.com/module1/page1.html http://abc.com/module1/page2.html rather http://abc.com/module2/page1.html .
If user is accessing site via module2 why he should see module1 navigation? but that's how CQ is responding now.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies