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?
- Get default permalink structure from pretty URL’s
- How does WordPress handle permalinks?
- Date based URLs for custom posts and pagination
- Removing hierarchical pages in the permalink
- How to custom change author base without $this->front?
- How to remove the index.php in the url?
- Make attachment pages require a base url
- How to Remove -14 from WordPress URL (Permalink)
- Rewrite URL Parameter And Force ‘Pretty’ Permalink
- display URL or permalink instead of page title in dashboard
- Change permalink rule if category is called “uncategorized”
- 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?
- Change author slug and functionality
- Get canonical link
- CSS not loaded when omitting www. part of URL
- Setting up two separate blogs while using WordPress as a CMS
- Is it possible to keep all special letters for foreign languages in slug as in title?
- How to redirect to correct pages after permalink structure change
- Non latin post slug truncate
- How to remove specific category from URL in WordPress
- Custom permalink leads to index page
- Remove -2 from URL; no duplicate pages, no images, no pages in trash
- WordPress keeps giving me the wrong permalink
- Permalinks 404 error with HTTPS host
- Mirror content based on URL slug
- Remove subcategory and category with some rules from permalink
- How to change hierarchical page permalinks to be flat
- Format HTTP links
- Change directory url to be same as page permalink?
- 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
- 404 permalink errors on Pages only
- 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
- How to set add_query_arg properly for home page?
- How to redirect old permalinks from https://exmaple.com/category/post_id to https://exmaple.com/category/post_id.html
- corrupted URLs – can’t leave starting page
- Make a post inaccessible without a unique ID in the URL
- A different permalink structure for different categories
- Add prefix to url, but products not showing in page SHOP
- MySQL-inserted custom taxonomy term lead to 404, flush rewrites doesn’t help
- URL gives 404 error of my subfolder site when i change permalink
- Permalink not changing according to post type
- Custom Taxonomy rewrite rule causes 404 error on page or single post depending on if it’s set to “True” or “False”
- append current user-id to all internal permalinks
- Pagination links for taxonomy archive page 404 error on every page except first
- add bar in paging in the URL
- WordPress Page URL
- Change all pages permalinks instead of hierarchical to have id of the page
- Rewrite single template permalink?
- Category-dependent custom permalink
- Customized author slugs not working with get_author_posts_url method
- Editing the variables in a custom URL
- ?posts_type=xxx not rewritten
- region selection
- Are custom page templates being used to get this permalink structure
- Add additional URL variations for a Post
- Blog posts are not appearing as subs of Blog Page
- Remove parent product category slug from product_cat url woocommerce
- How to make my custom permalink pull up the correct post