This is about a year over due.
I have had a similar thing happen on my new word press install.
Creating pages dynamically and getting incremental numbers on the slug names.
During this process I realised that the original slug would access the last one.
ie. ../../dynammic-page would access ../../dynamic-page-4
The solution was in the trash folder! WordPress maintains these old files. A new page of the same name and slug name will be assigned a slug with an increment.
I permanently deleted the trashed versions of the page and the newly created dynamic page was increment free. Hazzaar!
Hope that helps someone.
xK
Related Posts:
- How does WordPress generate URL slugs?
- Add menu and submenu in admin with a URL instead of slug?
- Get taxonomy slug from url
- Best way of removing emoji support from url / slug only
- Allow UTF-8 characters in the user slug part of URL
- Why ids in urls don’t work but slugs do?
- Easiest way to simulate WordPress’s URL resolution to retrieve post ID, etc?
- pass user id in slug and get user information
- How do I link to a blog not set as the homepage?
- Allow Chinese character on post URL slug
- How to edit URL Slug?
- How can I change a media attachment URL/slug, so that I can use that slug for a page?
- Can anybody provide me with a function to generate slugs?
- Site transferred to new server produces 404s
- Unicode characters are saved in a funny way in the DB
- Thousands of unwanted URLs/pages with “0” in slug created
- Too many redirects (ERR_TOO_MANY_REDIRECTS) only on one page
- How to remove % character from url
- Can non-latin characters appear in slugs?
- Allow duplicate slugs for pages and posts
- Avoiding the -2 in slugs
- mysterious issue with stop words in urls not working – how can I restore multiple url access?
- How to create URL for Pages/Posts
- Modify WordPress to not replace + (plus) characters from URLs?
- Problem with guids and absolute links
- Rewrite rule page url with category
- How to Remove Slug From Database?
- WPML Get url without outputting
- Weird: /?name in URL leads to blog
- I am Looking to append URL Parameter to all URLs
- Is dynamic URL possible in WordPress
- Accessing the Current URL in a Text Widget for a Facebook Share Button?
- Is ‘name’ a reserved word in URL’s?
- generate unique slug while inserting post
- Does WordPress automatically redirect url without parent slug?
- How to create a custom page base on URL for WordPress?
- How to make menu items active based on hash
- Multiple domain names for one site
- How to always rewrite author archive page URL even if the author does not have a post
- Custom page slug without creating a WP page
- How to delete unused URL?
- Moving a test WP site to live
- How do I write the link from front-page.php to home.php?
- Should I set the html base url when using wordpress?
- how to make URL link query string
- How do I test my localhost WordPress project with VirtualBoxVM?
- Updating URLs in many posts
- Save URL into database
- Publish Post when URL is available else reschedule the post in wordpress [duplicate]
- Imported 10 000+ posts, custom field showing link not displayed
- Find file url in post content and add it to media library
- How to change the Author Slug from Username to Nickname and deal with Special Characters
- Get Top parent url
- URL issue after migrating to dev site
- Renamed my website (URL) – how do I rename all within-page links to the old URL?
- Moving a WordPress site – Installation issue
- Organizing the Navigation Menu
- What can I replace ‘.get_bloginfo(‘url’).’ with to return the current URL rather than the home address?
- How to get CGI variables?
- What is the best way to figure out which template file that a “pretty permalink” is using?
- How do I add a tag slug to a category URL to filter posts?
- WordPress Subcategory Creates 2 urls for same page (serious issue)
- Bulk append URL (add word to slug)
- How to see an item in the admin from its URL? (not sure if it’s a page, post, or what)
- Cannot access WordPress website from external IP while internally it is working properly [closed]
- Pass form input via url variable
- Rewrite Most WordPress URLs
- Wrapping add_query_arg with esc_url not working
- How to make WordPress urls matching static html urls
- Hook for feed creation?
- Remove international characters from slug – Almost done – Bit help
- Go back to my home page
- Changed domain name and all the 301 redirects work except the ones for the thumbnail image which return 403 Forbidden error
- How to make a seo friendly URL of 2 different pages with same words
- WordPress is adding “category” word before my actual category name in url (and this is unsolicited)
- Embed ACF URL Field in WP title field
- Add %post_id% to slug of custom post type and prevent the “unique slug” thing that WP does?
- how to set url in admin option page
- What does this structure of the URL mean? http://www.example.com/?i=0
- Private Messages between users
- Navigation and Permalink not getting correctly
- How to create a dedicated folder for specific role via registration
- WordPress custom form post to different page
- Two domain site: Link base URLs point to wrong domain
- Duplicate content with the same URL, google authorship
- URL with without www shows just a blank page
- How to create custom authors links
- Is this the correct way to add post-slug input field?
- How to remove slug from url (custom post type)
- Accessing a file saved outside webroot in a wordpress post
- Enabling canonical links to force search engines to go to site.com rather than site.net [closed]
- Why my wordpress site URL does not begin with my domain?
- Is There a Way to Schedule URL to Content Updates?
- I changed my url and cant access my site, Help?
- How can I implement an Article Wizard for non-existing URLs? [closed]
- Select Tab name to show in browser’s URL
- How to make media URLs Unique
- Hide custom post type slug url from search engine [closed]
- Leave login URL for my user beautiful
- Unable to Retrieve Query Parameters Passed in URL