For the list of authors, the simplest solution is to create a page with the slug author
, then create a page-author.php
template where you’ll add your own code to list authors.
All views in WordPress are a post or list of posts- there’s no concept of an author list, or a list of terms in a taxonomy, those things need to be created manually.
For the author links, the fix is fairly simple, you can manually set the structure they follow to omit the front
value that gets inserted by default:
function wpd_fix_author_structure(){
global $wp_rewrite;
$wp_rewrite->author_structure="author/%author%";
}
add_action( 'init', 'wpd_fix_author_structure' );
Don’t forget to flush rewrite rules after they change.
Related Posts:
- Remove parent slug for child pages
- Remove parent slug for child pages
- WordPress not respecting template hierarchy (fetches index.php instead of single.php or page.php)
- How can I add a page’s ID to its permalink using WP_Rewrite?
- Share same Slug for a Custom Post Type and 2 Taxonomies
- wordpress how to replace url /bar with foo/bar for custom post type
- I’ve removed my /author/ slug but it clashes with new and existing pages. Any fixes?
- Bulk append URL (add word to slug)
- add_rewrite_rule – Page Slug from “/foo-bar/” to “/foo/bar/”
- Access or edit custom generated permalinks with WP_Rewrite
- optional parameter in permalink structure
- How to allow different authors to use same post slug?
- Author permalink
- Rewrite single template permalink?
- Customized author slugs not working with get_author_posts_url method
- remove “index.php” from permalinks
- Passing and retrieving query vars in wordpress
- Change the Author Slug from Username to Nickname
- WordPress slug issue with non-latin characters
- Change author permalink
- How to remove dates from existing permalinks?
- Getting the Site URL Including the Front Base
- Change slug on post creation
- Date based URLs for custom posts and pagination
- How to custom change author base without $this->front?
- Is It A Good Idea To Change Author Slug (user_nicename field) Directly In MySQL DB?
- How to prevent the default home rewrite to a static page
- When creating a WordPress page, a “-2” suffix is added to new pages’ permalinks
- URL Rewrite + Page + Custom Post Type = Unusual Redirect
- Handle category name URL rewrite before different post type slugs
- How to remove the index.php in the url?
- Replace WordPress %postname% suffix with %postid%?
- Rewrite user profile URL to be human friendly
- Make attachment pages require a base url
- Rewrite URL Parameter And Force ‘Pretty’ Permalink
- rewrite_rule for custom post type doesn’t affect get_permalink
- Add ‘articles’ prefix before blog posts url without affecting pagination
- how to flush custom author rewrite rule
- Incorrect 404 for pages when using permalink, a static front page, and posts page
- How to improve WordPress security by hiding non public facing files?
- Call to a member function add_rule() on a non-object
- Link to blog index from template
- Use Regular Expression to get tag from permalink url during wp_rewrite in generate_rewrite_rules
- Is it possible to keep all special letters for foreign languages in slug as in title?
- Avoid WordPress categorizing a permalink request as Not found 404 Page
- How to redirect to correct pages after permalink structure change
- Non latin post slug truncate
- Add prefix to page URL based on the page template
- How to remove specific category from URL in WordPress
- The default code for “posts_nav_link” on category.php isn’t working
- Custom permalink leads to index page
- wp not making CPT permalink / slugs unique
- Permalinks 404 error with HTTPS host
- Mirror content based on URL slug
- How to change hierarchical page permalinks to be flat
- Advanced author permalinks
- Format HTTP links
- Change directory url to be same as page permalink?
- How Do I get the author’s page id?
- implement separate templates for 1 post type
- Getting back a permalink from custom url
- Order custom post type posts by custom field with pretty URL
- Show category name in the post URL only for specific categories
- Adding URL prefix for foreign language support
- Custom Post Type Advanced Slug
- 404 permalink errors on Pages only
- how do prevent wordpress from creating permalinks for media files
- help to remove last trailing slash using add_rewrite_rule
- Change permalink to attachment
- Problems with permalinks (.htaccess not working)
- Subdomains pointing to a permalink URL
- Change author permalink using htaccess?
- Remove international characters from slug – Almost done – Bit help
- Can I change the URL structure for a CPT only?
- How to set add_query_arg properly for home page?
- New posts link to old posts (random)
- corrupted URLs – can’t leave starting page
- A different permalink structure for different categories
- WordPress slug confusion
- Multiple Taxonomy Items for Separate URLs
- MySQL-inserted custom taxonomy term lead to 404, flush rewrites doesn’t help
- Code snippet to add filter pre_post_link to change Media URL (post_type attachment permalink/slug)
- Permalink not changing according to post type
- Website URL Permalinks
- home page slug editor missing from WordPress
- Problem with permalinks
- How to rewrite a folder in WordPress?
- Force/Limit the post/page slug to accept only url friendly characters
- single.php being ignored, going straight to attachment.php
- Uppercase vs. Lowercase page slugs
- hierarchical taxonomy in permalinks? using same slug
- Folder Name and Category Name WordPress
- Possible to hide parts of the slug from get_template_directory_uri and bloginfo(‘template_directory’)
- Editing the variables in a custom URL
- How to update permalink on the fly?
- How to change pagination base from slash to query form?
- wp_get_attachment_url not working
- Display a custom slug in URL depending on user variable
- UI does not show correct Slug after modified using save_post action
- Blog URL Structure – Multiple Taxonomies