If such page is available only for users that are logged in (and I guess that’s the point of having “my-account” page), then there is no reason to add anything more to that link. User has to be logged in to access such page and he will be redirected to that page after logging in.
On the other hand it is very important, that you use nonces on any actions, that are performed in these pages – this will protect your users from XSS attacks. And of course, every action performed in there should also check, if user can perform that action (let’s say user wants to delete his order/article – you have to check if current user is permitted to do anything with given article, etc.).
Related Posts:
- Change media item permalink
- Creating custom permalink structure for languages
- Permalink not working for page without title
- What is the difference between get_permalink vs get_the_permalink?
- Is the permalink structure /%post_id%/%postname% faster or slower than just /%postname%?
- Using underscores instead of hyphens in the permalink
- How can I force WordPress to redirect to canonical permalinks?
- Remove subfolders from URL
- flexible rewrite ‘ramble’ URLs with WordPress
- Changing pemalink structure to /%post_id%/%postname%/
- htaccess or redirect to cloak portion of a link?
- Relative or Absolute Paths for Flash Video Player Files
- Update Old Links To Pretty Permalinks Custom Post Type
- WordPress Permalinks %postname% for RSS2 Feed URL
- remove permalink trailing slash
- Use Single Blog Post as Site Front Page Without Redirect
- wordpress permalinks tweeks
- generate custom permalink based on a custom field
- Redirect old permalinks with Month and name to Post name on new site
- .htaccess – Redirect duplicated post ended in ‘-number/’ to the same url without the -number/
- WordPress Permalinks on Mac OSX Server 5 (El Capitan)
- How to find out who handles a permalink?
- Getting links to work the same on development and production
- Page Attachment Permalink Structure based on Menu Order?
- stop the_permalink printing and save as variable?
- Change author slug and functionality
- Setting up two separate blogs while using WordPress as a CMS
- Custom theme navigation
- get permalink and append it
- How to redirect to correct pages after permalink structure change
- Moving local wordpress page to a real server subdomain broke my permalinks?
- Remove parent category from permalink but keep breadcrumbs structure
- Only plain permalinks working
- next_posts_link URL does not include name of custom post type
- Media Gallery Images – safe to change permalink?
- How to remove specific category from URL in WordPress
- How to set permalinks when posts and pages have different URL structures?
- redirect/ %category%/%postname%.html to /%category%/%postname%
- WordPress disallows changing page to a specific permalink
- Custom permalink leads to index page
- Permalink Doesnt Work – URL Not Found
- WordPress 4.4 old permalink redirect
- 404 when going to /blog
- WordPress keeps giving me the wrong permalink
- Permalinks 404 error with HTTPS host
- Empty permalinks settings in .htaccess
- Rewriting single post url; add_rewrite_rule problem?
- WordPress permalink prefix
- curl problem or permalinks
- Multiple permalinks
- RSS feed link on archives page not working
- Order custom post type posts by custom field with pretty URL
- Redirect From Url To Url
- how do prevent wordpress from creating permalinks for media files
- custom query var NOT working on a plain permalink: http://10.8.10.9/?page_id=1774/?location=968&floor=1
- How to flush Global query variables in wordpress?
- How to disable permalinks to some custom post content?
- Exclude single page from permalink rule
- Changing the entire permalink
- How are WordPress Page URLs affected by permalink settings?
- Home page Pagination – Other pages do not redirect to home page template
- Access posts while mod_rewrite is broken
- Update page breaks permalinks
- WordPress switch servers
- Tag pages do not show
- WordPress Posts forced to load as Uncategorized
- replicate url permalink after migrating to wordpress
- I need to change the attribute of the isPermaLink guid in the WordPress RSS feed – from false to true
- Permalinks Question: Adding a prefix ONLY in front of the posts
- Modify post slug before saving
- Changing permalink for blog posts, current structure www.website.com/blog-post, change to, www.website.com/blog/blog-post
- Permalink refresh, the good, the bad, etc. What is best?
- Make the blog page a child of another page and rewrite the blog url
- WordPress slug confusion
- Author URL using wrong domain after using Edit Author Slug
- 404 on wordpress multisite Permalink pretty URLs
- Cannot publish posts or pages when I change permalink structure
- Question About Permalink in wordpress
- append current user-id to all internal permalinks
- How to find a page in admin based on it’s permalink
- issue with the_permalink
- Pagination links for taxonomy archive page 404 error on every page except first
- Facebook Share Permalink Javascript href
- Change all pages permalinks instead of hierarchical to have id of the page
- where is the media permalink info stored in database?
- Links after changing hosting and domain
- Category-dependent custom permalink
- How can I get WordPress CPT archives and page templates to work with prettified permalink settings?
- Passing user defined variable into get_permalink
- Custom permalink structure for custom post type results in 404
- ?posts_type=xxx not rewritten
- Change permalink when page category selected in admin
- Category pagination first link works, remaining don’t
- Custom rewrites for pages and categories
- Why doesn’t my page know it’s a page (won’t return true for is_page())?
- How to change my URL on intranet
- Add additional URL variations for a Post
- How to use ‘blogs.dir’ as media upload instead of ‘uploads’ directory in WordPress multisite setup
- How to make my custom permalink pull up the correct post
- How to Set Both Category and Sub-Category Level at Root. It should also obey post rule as /category/sample-post and /sub-catgeory/sample-post?