Hi,
I have a content path /content/my-project/gb/en/home/test.
Then I used request.getResourceResolver().map("/content/my-project/gb/en/home/test").
Output: https://www.myproject.com/en/home/test.html
Now I want to reverse this process. I need the actual content path from the mapped path.
Ex: https://www.myproject.com/en/home/test.html to /content/my-project/gb/en/home/test
Any idea how I can achieve this? [I tried resourceResolver.resolve("https://www.myproject.com/en/home/test.html").getPath() but it's not working.]
Thanks in advance.