Help Please - How to change the profile page path?

Permalink 1 user found helpful
Hi, I've posted here -http://www.concrete5.org/community/forums/customizing_c5/different-... - but nobody answered me :/

How can I change the profile page path from /profile/ to /p/ or something else?

 
12345j replied on at Permalink Reply
12345j
id just add a new single page with the same code as the profile, but in root/single_pages/p
seehttp://www.concrete5.org/documentation/developers/pages/single-page...
antonioazevedo replied on at Permalink Reply
There is only the folder /profiles in the single pages directory so I'm guessing it doesn't set the url there (because the url is /profile, not /profiles).
It must be defined somewhere else. Isn't there a page profile.php? Where?
12345j replied on at Permalink Reply
12345j
it is that folder- the url for the single page can be different then the location.
antonioazevedo replied on at Permalink Best Answer Reply
I ended up adding a .htaccess rule:
RewriteRule ^p/(.*)$ profile/$1 [L]


Where the first 'p' represents the profile page url that you want:
In that example, what normally is /profile/user can be accessed through /p/user