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
Ankit Sharma 183Ankit Sharma 183 

change url name

hi

my vf page name /artistportfoliounbranded. when i open this page in url it will change and show my static page name like /ankit.

it can possible please suggest me.

Khan AnasKhan Anas (Salesforce Developers) 
Hi Ankit,

Greetings to you!

I am not sure that I understand what you are looking for, this is my current interpretation of the situation. Create a new "dummy" visualforce page with a name you wished ("YourPage") that will redirect user to another page.
Redirect using javasript. 
<apex:page>
    <script>
        window.location.href = '/apex/MyPage';
    </script>
</apex:page>

Please refer to the below links which might help you further.

https://salesforce.stackexchange.com/questions/38760/setting-visualforce-page-url-different-from-file-name

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
Ankit Sharma 183Ankit Sharma 183

Hello Khan Anas

Sorry /ankit my not page name i just replace with url this name. actually there in url my page name show. but i not show page name just show only staic name.