function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Julia Khon 30Julia Khon 30 

How to remove salesforce id from community url?

Hi All,

I'm using the Customer Account Portal community template, and have a requirement to remove the record id from the community url.
Ex: Currently the url is: 
mycommunityurl.com/object/record_id/record_name

How can I transform that into simply:
mycommunityurl.com/object/record_name

Thank you in advanced for your help and suggestions!
AbhishekAbhishek (Salesforce Developers) 
Hi Julia,

I suspect that it won't possible.

But you can try with CName,

For reference please go through the below article,

https://help.salesforce.com/articleView?id=siteforce_domains.htm&type=5

Thanks.