It is kind of solution but it worked.
I just use plugin called “Allow Numeric Slugs” https://pl.wordpress.org/plugins/allow-numeric-stubs/
It went out it also allow me to create pages as I need http://pagename.example/2018
etc…
I don’t investigated how it work, but it worked for me 🙂
Related Posts:
- Change the “page” slug in pagination
- How to change default page slug?
- Multiple Permalinks for Same Post
- Rewrite URLs – Custom Post Type – Post Slug, Taxonamy Slug
- Using URL rewrite to add custom URL for custom post type
- One off rewrite for single post-type slug (show normal page with same URL instead)
- Can’t use a specific custom URL (slug)?
- Trying to add array of paths to post permalink
- How to create custom URL routes?
- web.config conflict on IIS
- Using custom/dynamic “slug” for a page
- How do I remove a rewrite rule?
- add_rewrite_rule: $matches var not replaced by captured value
- Display posts with author in the url with custom post types
- How-to add rewrite rules to point the uploads folder to a subdomain
- How to add dot(“.”) in post slug
- add_rewrite_rule not loading correct page nor getting variables
- Disable wordpress pagination URL rewrite for specific page
- How to use Post Custom Metadata in Post Titles and Post Permalinks
- rewrite_rule() not preserving the query string
- Mod_rewrite delete parameter in 301 Redirect
- add_rewrite_rule not working for page var
- WordPress URL rewrite regex
- Custom rewrite rules are sending everything to index.php
- Prepend meta_value to permalink of post
- WordPress Network on IIS7/SQL Server – Rewrite Issues
- Custom comments
- Adding the amp url prefix to the beginning
- Tricky URL rewrite with custom values in url
- Add rewrite rule to call front-page.php?
- Add a query string to ALL links on site
- How make a multi language routes, with rewrite rules or rewrite endpoints?
- Add rewrite rule for rewrite endpoint
- Having trouble with using add_rewrite_rule and pagination
- Rewriting rules: difference between ‘init’, ‘rewrite_rules_array’, ‘generate_rewrite_rules’?
- add_rewrite_rule is not taking effect in WordPress? .htaccess file doesn’t update
- Remove “/page/1” from the URL
- hard flush_rewrite_rules() not regenerating .htaccess
- Rewriting URLs in WordPress
- add_rewrite_rule() to route to file other than index.php
- ‘rewrite_rules_array’ or ‘generate_rewrite_rules’ for adding custom rewrite rules?
- Rewrite Rules Are Redirecting and Not Passing VARs
- WordPress rewrite rules don’t need ^?
- custom template rewrite
- Custom rewrite not working
- Disable Pagination on Pages
- Rewrite wp-login.php URLS to static pages?
- How to add a custom redirect rule for Post as subdomains?
- How to preserve the query string while using add_rewrite_rule and default public query vars
- How to use add_rewrite_rule in subdomain
- Rewrite the default post object’s permalink
- QSA Rewrite Rule
- Enpoint Not Found in Rewrite Tag Permalink
- URL rewriting with custom user meta “/%shop_name%/gallery/%gallery%”
- Custom Rewrite Rules
- URL Rewrite with Custom Variables
- ReWrite rule for files of a previously standalone blog moved to network
- How to add custom rewrite rules and point to specific templates
- Rewrite /category/cars into /topics/cars
- Best way to trigger rewrite rules
- Trouble with question mark in rewrite rule
- show ALL latest posts with archive.php on example.com/latest
- add_rewrite_rule – Page Slug from “/foo-bar/” to “/foo/bar/”
- What URL rewriting rule should I write to retrieve a var in the URL?
- How to use wp rewrite to hide form action url?
- WordPress Rewrite rule is not working
- Redirect URL to an existing page with query string or #! added on
- How do I make WordPress revise an .htaccess file a certain way?
- Rewrite rule that wp-login.php?action=register is left alone
- How to change an existing wordpress page rewrite rule?
- URL rewriting in wordpress using parameters
- Rewrite rules – page does not exist
- Use URI suffix as parameter and ignore when resolving page
- Why wordpress rewrite my custom URL?
- Rewrite rule regex help required
- Redirect empty search to another page
- Rewrite Rules are Redirecting
- Rewrite dynamic URLs as pretty URLs in WordPress functions.php (add_rewrite_rule) – what’s wrong with my code?
- Change author base and slug in author link
- Rewrite rule not working, suspect redirect string
- Issue with custom rewrite for products and permalinks
- Prefix only some posts with a custom prefix
- Rewrite Rule added but showing 404 rather than specified page
- Blog List Page 404 With Custom Post Type Rewriting to Blog Parent
- Custom taxonomy Rewrite Rule
- taxonomy term in URL slug won’t forward to the correct term for custom post like it does for default categories/normal posts
- Custom urls in WordPress involving page slugs
- I want to add one extra field to my URLs, I’m using Rewrite functions but it doesn’t work
- Font Page overrides rewrites
- rewrite rules social share links
- add_rewrite_rule is not fired
- Custom URL scheme – paramters on custom post type
- rewrite rule for home/index page
- WordPress Custom Rewrite Rule
- Additional .htaccess rules based on wp page
- URL Rewriting in WordPress
- Rewrite URL variable to custom path
- Rewrite function
- Wrong rewrite rules
- Rewrite and replace url wp-admin/edit.php and wp-admin/post-new.php