Typically, you will add the parameter to the URL on a different page. For example:
<a href="http://domain.com/test?m=1">Details about M1</a>
This is because the parameter affects what the server loads. So you can’t go to the URL and then add the parameter after load. That’s not what its for.
Related Posts:
- remove “index.php” from permalinks
- How to get pretty URLs with add_query_arg in permalinks
- Creating custom permalink structure for languages
- Getting the Site URL Including the Front Base
- Update URL Snippet to Canonical Permalink URL
- “.#[random-char-string]” being inserted at end of URLs
- URL Rewrite + Page + Custom Post Type = Unusual Redirect
- Pretty Permalinks
- How to create a permalink structure for posts in a specific category
- Remove subfolders from URL
- flexible rewrite ‘ramble’ URLs with WordPress
- Custom rewrite rules for feeds of custom queries (query_var query strings in URL)?
- How to Modify Existing Rewrite Rules?
- custom permalink/shortlink with base62 encoded post ID
- How to reset canonical URLs / fix redirect loop
- Change blog segment of URL
- Force wordpress to display page with same url structure as categories
- How can i have a custom post type with more slugs for each post?
- URL rewriting: removing the site’s basename for a specific category
- mod-rewrite exception? keep #hash in matching urls?
- Remove parent page from url
- Getting back a permalink from custom url
- Bulk append URL (add word to slug)
- Access posts while mod_rewrite is broken
- Can I change the URL structure for a CPT only?
- Multiple Taxonomy Items for Separate URLs
- WordPress keeps removing query var from the URL
- How to construct a dynamic rewrite rule for child pages that passes more than one query var
- Using a template file for a specific custom URL
- Extra url paths as variable
- rebuilding/ rewriting a url to make it SEO friendly
- a way to support totally different url structure
- How to change URL of my pages?
- Custom Permalink Base
- Include language variable in url
- How to get the perfect WordPress, WooCommerce, Custom Post Type pretty permalinks?
- Passing and retrieving query vars in wordpress
- Get default permalink structure from pretty URL’s
- How to remove dates from existing permalinks?
- How to use relative links on my pages?
- WordPress Permalink changes to question mark (?) in URL
- Date based URLs for custom posts and pagination
- Removing hierarchical pages in the permalink
- How to prevent the default home rewrite to a static page
- WordPress on a subdirectory of Laravel – WordPress pretty permalinks inner page shows laravel
- How to get url of a post from admin panel
- How to remove the index.php in the url?
- How to get the post id from a permalink?
- Exclude subcategories from the url
- Rewrite user profile URL to be human friendly
- rewrite_rule for custom post type doesn’t affect get_permalink
- Add ‘articles’ prefix before blog posts url without affecting pagination
- Change permalink rule if category is called “uncategorized”
- WordPress not respecting template hierarchy (fetches index.php instead of single.php or page.php)
- How to improve WordPress security by hiding non public facing files?
- Call to a member function add_rule() on a non-object
- Get canonical link
- Why does chrome keep downloading a file instead of running the site?
- How can I add a page’s ID to its permalink using WP_Rewrite?
- Re-write specific custom post type category URL to go to another page
- Get page by path – honoring permalink settings (urls w/slashes)
- Is it possible to keep all special letters for foreign languages in slug as in title?
- How to stop WordPress from removing & from URL?
- Share same Slug for a Custom Post Type and 2 Taxonomies
- How to bulk edit image url in featured image and product description?
- Redirect a Blogger Page URL to wordpress
- Remove subcategory and category with some rules from permalink
- Create custom permalinks to show Custom Post Type’s relationship?
- IIS 7 Rewrite with parent categories
- 404 error using Meta for Permalink rewrite
- Permalinks settings
- How to handle paging/pagination with a custom permalink?
- Problem with parent page slug only in WordPress admin
- Custom URL rewrites for templates
- “-2” Being added to end of URL (no duplicate pages, no pages in trash)
- How to change custom post type, blog post and page permalink by template?
- Change permalinks for specific pages
- How can I set up a secondary permalink structure?
- How to get raw unwritten querystring
- Post with no tag permalink problem
- How do I structure my permalinks in WordPress?
- I want to rewrite the URL of a specific post with a specific custom field to easily analyze in Google Analytics
- Adding a ‘blogs’ prefix in the URL structure but only for blogs
- WordPress Attachment Page URL Rewrite!
- Customize URL for specific tags archive
- Add #primary at the end of navlink permalinks on single posts
- Redirect page to homepage, keeping URL
- Adding query string to multiple page urls in a WordPress function
- Updates all internal links on permalink update
- Permalink structure /page/page/cpt-post gives 404 with pagination
- What permastrusture tags are generated out of the box right after creating custom post types and taxonomies?
- Rewrite posts url as they’re all children of a page
- Multiple Permalink Patterns for one page
- WordPress permalink still not working (error or not understood?)
- Update permalinks after domain change
- how to create several url aliases for a page
- Using a variable in page permalink
- how to ensure url uses post_name and not query post id?
- Duplicate Content Issue with WordPress Permalink Structure and Primary Categories
- WordPress homepage shows default theme after migration – logged-out users see different content