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?
- Best way to approach creating a sitemap with unique URLS (No Permalink Changes)
- Need help with add_rewrite_rule
- How do I add /blog/ as a prefix to permalink structure for blog posts, tag pages, etc.?
- How does WordPress create URLs that Apache knows about?
- Passing and retrieving query vars in wordpress
- Stop WordPress appending `-2` to the end of my url after i change it
- Get default permalink structure from pretty URL’s
- Permalink format: singular or plural
- Add .html (dot HTML) extension to custom post types
- Get current URL (permalink) without /page/{pagenum}/
- How does WordPress handle permalinks?
- Pretty permalinks for search results with extra query var
- Custom post type permalink endpoint
- How to remove dates from existing permalinks?
- Using $_GET variables in the URL?
- How to use relative links on my pages?
- Including category-base in a post permalink results in 404
- WordPress Permalink changes to question mark (?) in URL
- WordPress thinks my custom route is a 404
- Adding another word in front of post url
- How to prevent apostrophes and quotes from appearing in permalinks?
- Date based URLs for custom posts and pagination
- Removing hierarchical pages in the permalink
- How to add a custom URL placeholder to author archives?
- Multiple post categories – single permalink
- How to custom change author base without $this->front?
- URL rewrite based on a custom field value
- How to prevent the default home rewrite to a static page
- why does anchor name add a slash to url?
- How to change author base without front
- permastruct for custom post type not working in one of four cases
- WordPress on a subdirectory of Laravel – WordPress pretty permalinks inner page shows laravel
- Make post slug have priority over category slug
- Remove parent slug for child pages
- How to get url of a post from admin panel
- How to remove the index.php in the url?
- How to Remove Slug From Database?
- How to make draft posts or posts in review accessible via full url / slug?
- How to map permalinks with accented letters to sanitized slugs?
- Remove parent slug for child pages
- Add custom directory in URL
- Limiting the number of words or characters in the slug/permalink
- Using two permalinks for one post
- How can I Rewrite a ‘page’ URL based on query string parameters?
- Custom rewrite rules for a $_GET request
- Nice RSS Feed URLs for each custom post type
- How to increase the character limit for post name of 200?
- How to get the post id from a permalink?
- Change the custom post type permalink
- custom naming of search permalink /search/
- Auto 301 to full post permalink? (using /posts/%post_id%/%postname%)
- Exclude subcategories from the url
- Change website URL without breaking links or images? WP 3.3
- Put post ID on the custom post type URL
- Rewrite url / permalink for default archive – yearly / monthly
- Rewrite user profile URL to be human friendly
- WordPress 3.4 Permalinks Redirection Problem
- Random Alphanumeric Key URLs
- Make attachment pages require a base url
- Permalinks, Rewrites, Get Variables, Oh My!
- Using WP rather than .htaccess to redirect pages/posts
- Change permalink for a single post entry
- Remove the Parent category from the permalink but leave the child category
- How to Remove -14 from WordPress URL (Permalink)