You need to do 2 different things to achieve this.
URL Structure:
Getting the URL in your desired format: http://website.com/user/username
By default, user’s archive URL is something like this http://website.com/author/username
There is a plugin to change author slug, install this plugin and set the slug to user
Plugin: https://wordpress.org/plugins/rename-author-slug/
[Note: I’m the author of this plugin]
Displaying info:
Customize your author.php
file in theme directory and show specific information.
In this file, you can get any of information a user has.
To get a user’s display-name, simply use <?php the_author_meta('display_name' ); ?>
Or to get his first name, use <?php the_author_meta('first_name' ); ?>
Related Posts:
- Create nonce in frontend page to edit profile
- Allowing user to edit only certain pages
- Different fields in My Profile page depending on user role
- How to count current user’s pages?
- How to create virtual pages with information from user meta profile fields?
- How to display page title+link of page created by user
- Associate Page with User
- Show different badge based upon the user role
- Custom user profile URLs
- Personal page for every user (not just authors)
- remove/hide pages from users backend
- How to add a user profile page to frontend?
- List all private pages user has access rights to read
- Adding New Users to Your WordPress Site for edditign only one page
- How to create a page that lists all the experts(Users with same access permission as author)?
- How to create a front end user profile with a friendly permalink and a 404 trigger
- New user Registration data imported into Page
- Role can edit just one page [closed]
- How to have sample page for each new register users in a membership website
- Add Link to Users List (Backend) to open each users front-end profile
- Make “default” wordpress pages & features unaccessible
- Showing user profile data on front-end
- Author page like wordpress answers
- Custom user tables not working after migration
- When I enter password, I’m redirected to the WordPress login form
- Page view displays not properly after update wordpress
- Add an ‘edit profile’ page with Genesis
- Standard way of creating profile pages with custom content for each user?
- Paginate Links not working
- Save search criteria per user and show on custom user page
- How do I count the number of pages a user has seen on my site, and force them to log in after a certain amount
- How to view front-end of WordPress website, using Atom?
- What is the difference between $paged and $page?
- Custom SQL Query for WordPress page
- Change admin startpage to Pages-page?
- How restrict page for users logged? [closed]
- Only allow new subpages to be created
- Hide Visibility Option From WordPress Publish Metabox
- How to make nested page structure?
- Redirect to a page if ancestors is empty
- Get Order of Meta Box in a Page/Post
- Check to see if page exists problems
- Modify Page Title before output via wp_page_list
- List Child Pages of Parent Parent Page (Child pages from Grand Parent)
- Custom /page/2/ template (different from index.php)
- How to add meta boxes to Pages
- Front Page not showing on Pages
- Hiding Page by Title from Editing
- Two Search pages, One search form
- Why doesnt ONE of my links in the footer work properly? [closed]
- Create subpage – filter parent pages list
- Use lots of pages, or categories/posts?
- How to have custom tinyMCE buttons break onto next line when too long
- Get all pages that are published
- How do i change page template in bulk?
- Is there a way to make custom fields only editable by administrators?
- Determine page content based on page parent
- Weird issue with is_pages() with array
- Missing ‘Page Attributes’ in page edit
- How to show the root webpage on all subpaths
- Editable registration date field in user profile
- Allow the comment author to delete their own comments
- Could be a namespace conflict (?) with login form and register form on the same page
- The concept of non-blog content
- Loading Multiple Comments Pages via Ajax?
- Change base URL of pages created by certain users
- How do I make a variable available inside partials?
- How to Create a User Profile Page?
- Remove Content edit box from ALL pages (not posts)
- What is full URL for a post?
- How to list a page tree?
- How to create a page and display only the posts with a specific custom field value?
- Remove comment section from new page
- WordPress pages not working out correctly with HTML
- Manage content on multiple pages synchronysly?
- User can manage one page accessible by everyone?
- Print page content with formatting when doing custom SQL query
- Need Help with Custom ModRewrite
- How does wordpress link page templates to individual pages
- Archive limit the text of the_content
- Website jumps to top when scrolling down
- How to fix broken URL – https://mywebsite.com/comments/feed/
- Revert a Draft page to its original version
- My edits are not saved
- When would it be best to hook AJAX functions on a back-end page?
- Detecting if I’m on a single, non-post, non-homepage page?
- My AJAX requests take 30 seconds to complete
- display different pages content on single page
- Create page excerpts for landinpage
- Why my site scroll top when end load pages
- Specify parent page template
- How to make page navigation just below the content?
- Hide if subpages are shown
- WP-navi plugin and post sorted alphabetically
- Tags are automatically converted if they match post names. Stop It!
- How to access variables from one plugin in another
- exclude page element from specific pages
- How do I create a page that displays the homepage?
- custom css in one page
- Why is a page shown with ‘hidden’ next to the name in the list of pages if the page is set to public?