So i examine several plugin to learn how it work and find solution by using add_permastruct
add_permastruct( 'job', "https://wordpress.stackexchange.com/" . $slug . '/%job%', array(
'with_front' => false,
'ep_mask' => EP_NONE,
'paged' => false,
'feed' => false,
'forcomments' => false,
'walk_dirs' => true,
'endpoints' => false,
));
and the problem is solved 🙂
Related Posts:
- How do I add /blog/ as a prefix to permalink structure for blog posts, tag pages, etc.?
- How do I set a custom base URL for standard posts?
- Does WordPress Change the .htaccess File When Updating?
- Must slugs be unique?
- WooCommerce return 404 on category pages
- why does anchor name add a slash to url?
- the_title() and the_permalink() won’t work on AJAX calls
- What is the best practice to check for pretty permalinks?
- Subdomains to pages
- Redirect old permalinks to new permalinks
- Post ID At The End Of Permalink URL Effects Performance (Positively)?
- How to map permalinks with accented letters to sanitized slugs?
- Homepage loads but all permalinks are 404 when using nginx & PHP-FPM
- Why does WordPress Pagination Remove the Spaces from my GET Variable?
- Custom rewrite rules for a $_GET request
- How to increase the character limit for post name of 200?
- WordPress 3.4 Permalinks Redirection Problem
- Change permalink for a single post entry
- Apostrophe in permalink results in page not found
- How to get full content including template HTML
- Is the ‘/category/post-name-date/’ permalink structure okay?
- Infinite redirects after changing the permalink of a page
- Permalinks settings page blank
- how to add two same slug under two category?
- Does changing a post title of a published post automatically change permalink?
- How to have extra permalink for posts
- Trouble with numeric permalinks after 4.3.1
- Editing Pages Give 404 Error After WordPress Upgrade in Admin Panel
- How to get post object on blog template
- Illegal characters in URLs
- conditional statement for active permalinks
- WordPress auto generates small medium and large of an image on upload, how can we guess their links?
- Error updating pages, and linking to pages (permalink error)
- Permalinks dropping after 3-4 weeks with no changes in theme or plugins
- WordPress Sub domain
- How can i have a custom post type with more slugs for each post?
- Create a PHP page to refresh the permalink on a custom table
- Why wordpress kicks me back to the dashboard of xampp? [closed]
- Custom permalink for specific category
- Permalink shows garbage character
- Permalink structure between 2 custom post types and a taxonomy
- how to redirect old blog post urls when permalinks are changed
- How to use all tags in post permalinks
- Disable date based archives for all categories except one
- Permalink target for recent post
- How do I reclaim either deleted pages or their permalinks?
- url rewrite .htaccess extension to permalink
- Remove parent page from url
- Remove “attachment/” from the URL of attachment pages
- How do I change the permalink structure without getting 404s?
- how to alter permalink in wordpress?
- Adding User Info to Permalink of User pages – is it neccessary?
- Permalink will not change – it wants to have -2 slug [duplicate]
- Permalinks 404 after Subdirectory to Root Migration
- optional parameter in permalink structure
- Get a link to paged() part?
- Two custom taxonomies in permalink structure
- Blogger To WordPress Permalink Redirection
- get_permalink() gives a certain page link only. how to solve this.?
- What is the simplest way to create a redirect
- How to make different urls for some tags pages
- Adding custom query var to a single post without redirecting to its root slug
- How to change specific permalink in wordpress site?
- assets aren’t loading on a page but loads on others? slug permalink conflict?
- remove SLASH on single_post but KEEP on categories and parent pages
- Fire a code when permalinks updated
- Change Project permalink to custom URL
- Flush rewrite rules with scheduled event (cron)
- Got 404 error when changed siteurl via DB in WordPress
- I have a 404 error on all my pages! What do I do?
- All files in public_html, Cannot launch WordPress site via wp-admin
- Extra url paths as variable
- Permalinks don’t update nor link properly
- Prevent 301 when a trailing slash added
- Why I had to re-save permalink setting after moving my WordPress site to another hosting provider?
- Permalinks custom base to redirect to archive.php
- How to change URL of my pages?
- get_permalink to an anchor
- Automatically remove repeated words in slug
- How to hide slug numbers with htaccess
- Permalink not working
- When using number in url it is redircting to same page but when using character it redirects to 404
- Change Image depending on page path
- WordPress Permalinks 404 error
- Once redirected by Rewrite rules, how can WordPress know the page?
- Webdav with permalink in WordPress v3.3.1
- ReWrite Permalink to New Permalink Nginx
- Why not working /%postname%/ with ajax serverinterval?
- Custom Permalink Base
- What is the best way to insert links indepently of the permalink structure?
- Appending a variable to RSS link url
- My wordpress site must be being affected by outside sources [duplicate]
- Hyperlinking images on posts to permalink
- How to get WordPress to NOT alter the permalink structure when adding a static page?
- Permalinks not working after Migration – AllowOverride All, htaccess set
- Can I specify template to use with the_permalink?
- Can’t find permalinks section under “Settings”?
- Plugins, themes and other dashboard links including permalinks giving 404 error
- RSS feed URL for post comment shows HTML source code of page
- Can you customize the automatic permalink population on new posts?