I have a Community setup and I am trying to redirect an incoming page request. For example,"http://xxxx.xxx.force.com/xxxx/xxxx/Article/448" would need to be redirected to "http://xxxx.xxx.force.com/s/Article/448".
I have tried to use the "ApexPages.currentPage().getURL();" but this is only returning parameters (Anything after a "?") and I need to the full relative path. (/xxxx/xxxx/Article/448)
Thank you for any information.