The simplest answer I can think of is to use what’s already built in: categories.
If you know what stores you’re going to have coupons for, create a category for each of them and assign that category to the post. You can then use a permalink structure like /store/%category%/%postname%
.
Related Posts:
- where is permalink info stored in database?
- Passing and retrieving query vars in wordpress
- How can I reverse engineer a Permalink to Find the Page?
- Mapping Domains to Permalinks (not multisite)
- How to remove dates from existing permalinks?
- Setting up WordPress with Custom Permalinks and no .htaccess File?
- How would I create a different permalink structure for pages and posts?
- My permalinks are broken! Can I use mod_rewrite to ignore a physical file?
- How to prevent the default home rewrite to a static page
- Is there an action for when permalinks are rebuilt?
- When creating a WordPress page, a “-2” suffix is added to new pages’ permalinks
- mod_rewrite enabled but Permalinks show index.php
- How to get url of a post from admin panel
- How to get a page url by a page id?
- Why does /wp-json/ not work on the “plain” permalink structure?
- CPT archive 404ing when using a custom taxonomy name as a variable
- How to change “permalink” structure in “WordPress Thesis” theme?
- Turn off %postname% auto-incrementing?
- How to get the post id from a permalink?
- Stop redirecting to posts not in a category / duplicate slugs
- Custom Taxonomy URL
- rewrite_rule for custom post type doesn’t affect get_permalink
- Add ‘articles’ prefix before blog posts url without affecting pagination
- Custom attachment permalink structure [closed]
- WordPress not respecting template hierarchy (fetches index.php instead of single.php or page.php)
- Is there anything built into the WordPress core to enable me to get the relative path from the “permalink structure” option
- Why does chrome keep downloading a file instead of running the site?
- Permalink change made author archive vanished
- Re-write specific custom post type category URL to go to another page
- Get page by path – honoring permalink settings (urls w/slashes)
- Pagination Issue – /page/2 404
- How to stop WordPress from removing & from URL?
- Nginx Rewrite Rule:: index.html added to every permalink
- Change permalinks on move from one site to another
- Share same Slug for a Custom Post Type and 2 Taxonomies
- Custom Post Type Yearly Archive Permalinks
- How to prevent redirect when using the term “page” in query string?
- Passing the JQuery string to Worldpress URL
- An other permalink problem – 404 Error
- permalink results to “page not found”
- .htaccess rewriterule being ignored – tyring to remove dates from WP posts
- Edit permalink for certain pages
- How to redirect RSS feeds to Feedburner and keep pretty permalinks?
- Strange behavior with a redirect loop – involves WPML multi-language plugin
- Adding category slug to posts permalink causes 404 error
- Apply function only if end of url has /amp/ [closed]
- Post Title to link to a PDF
- Permalinks – .htaccess
- WordPress Permalinks 404 bug with “next” button
- Combine category AND custom taxonomy in permalink structure
- home_url on IIS missing permalink index.php
- Update the permalinks in posts (not domain change)
- permalink and add_rewrite_rule – error 404
- Permalinks that go to a specific template
- WP-e-commerce (getshopped) – Annoying permalink issue [closed]
- IIS7.5 URL rewrite pboblem on index page
- Pages show 404 error instead of homepage
- Category blog URL 404
- Rewrite Post URL so it is constructed from parent post url & child post url
- Redirect to brand page after click on the brand logo
- Read more block is appending /#more-{post_id} to the link
- URL getting changed
- Create different permalinks for same post
- Why does one of my pages not have the option to edit the link?
- WP permalink working, but why content doesn’t display
- Giving specific category posts its own permalink structure returns 404
- Flushing rewrite rules enables to see an article, but I didnt change anything
- I have Akamai pointing to a WordPress installation with a different URL. Is there a way to make WordPress use this for link generation?
- Issue with wp_insert_post when modifying permalinks with “.html” extension
- while changing permalink, page redirected you too many times
- WordPress – Permalink custom Structure – 404
- I noticed only on 2 pages I keep getting permalimks changed with added -2 or -3?
- how to have same rewrite rules for 2 different post type?
- How can I add my own ‘read more’ or ‘after the jump’ type of link to the article page?
- Issue with my links or permalinks
- Change permalink structure ONLY for new posts
- swedish charater åäö in permalinks
- Why can’t I save permalink “360” for a page?
- Internationalize Forum Posts Without Translating Them
- How to change permalink structure and keep permalinks for old posts
- Pointing, two or more archived Blog posts to the same permalink (Single post page)
- Where is wordpress redirecting wp-admin/admin/dashboard to wp-admin and how to turn it off
- “post-name” Renders Using page.php, but “post-name-2” renders with single.php
- Why is this “blog” keyword automatically added in permalink settings?
- How to structure a wordpress site in folders?
- Used wordpress built-in permalink to change post url but the page is not found
- How to remove .html permalink without every post getting 404?
- Why is there a # and other characters in URL for WordPress site?
- How to change pagination base from slash to query form?
- WP Custom Permalink Filter
- standard post with extra parameter brings permalink problem
- redirect old pages by .htaccess
- wp_get_attachment_url not working
- Custom permalink to make a page respond properly
- WordPress 3.1 problem, getting 404
- Redirect Loops Problems
- Add additional URL variations for a Post
- How to use ‘blogs.dir’ as media upload instead of ‘uploads’ directory in WordPress multisite setup
- How to make my custom permalink pull up the correct post
- How to Set Both Category and Sub-Category Level at Root. It should also obey post rule as /category/sample-post and /sub-catgeory/sample-post?