You need to use your page id of “People” page. If i assume it is 12 then this will do,
add_rewrite_rule('^people/([^/]*)/?','index.php?page_id=12&name=$matches[1]','top');
Related Posts:
- How to add custom rewrite rule to .htaccess?
- SEO Friendly URLs for my plugin categories
- Custom rewrite rules are sending everything to index.php
- WordPress keeps writing rewrite rules to .htaccess
- WordPress Rewrite
- Dynamic URL, not a physical page within the database
- Custom rewrite rule
- hard flush_rewrite_rules() not regenerating .htaccess
- Map alt domain to specific section of website w/o MU
- Rewrite rule to load images from production does nothing
- WordPress rewrite rules don’t need ^?
- Url Rewriting a dynamic wordpress page
- My WP_options db rewrite_rules Does Not Work
- Disable Pagination on Pages
- .htaccess rewrite
- Changed pagination URLS to use p= instead of paged=
- Rewriting “pretty” blog category URL with htaccess / add_rewrite_rule() causes 404 page
- WordPress keeps writing rewrite rules to .htaccess
- Customise particular RSS permalink
- RSS feed rewrite matching wrong rule
- Rewrite specific action url
- How do I make WordPress revise an .htaccess file a certain way?
- Rewrite rule that wp-login.php?action=register is left alone
- Pretty URL via Rewrite
- Migration from old CMS to WordPress 301 redirection rules?
- Additional .htaccess rules based on wp page
- Can’t get pretty permalinks to work without index.php
- Rewrite Page Parameters
- WP-Include rewrite directory
- How to create custom URL routes?
- web.config conflict on IIS
- Masking wp-content/themes/name/images to just images directory using htaccess
- How do I remove a rewrite rule?
- Use subdomain for certain urls
- Clash of the rewrites
- How-to add rewrite rules to point the uploads folder to a subdomain
- Disable wordpress pagination URL rewrite for specific page
- How to use Post Custom Metadata in Post Titles and Post Permalinks
- rewrite_rule() not preserving the query string
- WordPress Network on IIS7/SQL Server – Rewrite Issues
- Custom comments
- Tricky URL rewrite with custom values in url
- Having trouble with using add_rewrite_rule and pagination
- Rewriting rules: difference between ‘init’, ‘rewrite_rules_array’, ‘generate_rewrite_rules’?
- Multiple Permalinks for Same Post
- Issue with using .htaccess to redirect feedburner feed
- Remove “/page/1” from the URL
- Rewriting URLs in WordPress
- Cleanup URL for a custom page in wordpress
- ‘rewrite_rules_array’ or ‘generate_rewrite_rules’ for adding custom rewrite rules?
- Rewrite Rules Are Redirecting and Not Passing VARs
- Permalinks: Page Not Found
- custom template rewrite
- add_rewrite_rule fro html to another url not working
- Adding rewrite rules directly to .htaccess file
- WordPress Redirecting Non Category Pages /page/nnn to their Canonical URLs
- How to add a custom redirect rule for Post as subdomains?
- How to preserve the query string while using add_rewrite_rule and default public query vars
- “View post” leads to odd URL
- How to use add_rewrite_rule in subdomain
- QSA Rewrite Rule
- Map secondary domain to other’s virtual subfolder
- ReWrite rule for files of a previously standalone blog moved to network
- Best way to trigger rewrite rules
- Trouble with question mark in rewrite rule
- Custom url rewriting
- Redirect htaccess [closed]
- force www rewrite if wordpress put in a folder
- What URL rewriting rule should I write to retrieve a var in the URL?
- Do rewrites added with add_rewrite_rule() persist after plugin deletion?
- How to use wp rewrite to hide form action url?
- WordPress Rewrite rule is not working
- Add rewrite rule to make Woocommerce product category page seo friendly
- How to change an existing wordpress page rewrite rule?
- URL rewriting in wordpress using parameters
- Rewrite rules – page does not exist
- Use URI suffix as parameter and ignore when resolving page
- Rewrite htacess rule doesn’t work
- Why wordpress rewrite my custom URL?
- Rewrite rule regex help required
- Redirect empty search to another page
- Rewrite Rules are Redirecting
- Translatepress taxonomy and custom post type root FIX
- Rewrite dynamic URLs as pretty URLs in WordPress functions.php (add_rewrite_rule) – what’s wrong with my code?
- WordPress URL redirect and replace ? question mark
- Issue with custom rewrite for products and permalinks
- Prefix only some posts with a custom prefix
- How to use a capture from a rewrite rule inside a php file (like single.php)?
- url rewriting on custom post type
- Rewrite rule not redirecting correctly
- Custom taxonomy Rewrite Rule
- I want to add one extra field to my URLs, I’m using Rewrite functions but it doesn’t work
- .htaccess RewriteRule to include post type and taxonomy
- Rewrite rule is not working
- Post Type Rewrite Custom
- Stop wordpress to redirecting home page if no page found
- URL Rewriting in WordPress
- Rewrite URL variable to custom path
- Wrong rewrite rules
- Rewrite and replace url wp-admin/edit.php and wp-admin/post-new.php