What your explaining is the normal linking method for WordPress when you are linking to a post that has not yet been published. Based on your question I think that’s what occurred to you.
Related Posts:
- Stop WordPress appending `-2` to the end of my url after i change it
- Removing Parent Page(s) from Permalink
- Removing the redirect after changing a page’s slug
- Prevent WordPress from abbreviating-long-slugs…-in-the-admin
- Page begins with number, WordPress adds 2
- Why don’t WordPress post slugs allow accents?
- Permalink Issues by Installing WordPress in Subdirectory / Subfolder
- Modify get_permalink with a specific filter
- Include Taxonomy slug in post url
- Nice RSS Feed URLs for each custom post type
- How to set permalink to fetch all children custom posts with parent post in wordpress?
- Rewrite url / permalink for default archive – yearly / monthly
- Should I use relative or absolute urls when pointing to internal pages
- removed index.php now all pages 404
- permalinks has -2 with post name structure. why?
- How can I change permalinks to use a different domain and path from where the blog is hosted?
- Gutenberg Editor: dynamicaly change slug field with an ACF field
- Child pages with same slug
- Permalinks, Rewrites, Get Variables, Oh My!
- Permalink problem
- Can’t get rewrite rules working
- permalink changed, now getting 404 for every pages
- Removing leading zeros from custom permalink structure
- When is it a good idea to build a permalink structure from scratch?
- How to reset canonical URLs / fix redirect loop
- Permalinks not working Apache + CentOS 7
- Trailing slash at the end of permalink loads faster / better SEO?
- How to show the homepage on a different url, like site.com/blog instead of site.com?
- Post incorrectly displaying as page
- Permalinks by page/post name returning 404
- why does my url not update after migration?
- Dynamically create Permalinks for uploaded files?
- 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
- 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)
- Plain to postname permalinks not working
- 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
- Google webmaster duplicate url issue with /page/01 /page/400
- URL rewriting: removing the site’s basename for a specific category
- Migrated from Windows to Linux. Any bulk methods for fixing case sensitivity?
- Custom permalink for specific category
- Unable to get /%postname%/ permalinks working, 404 on all links
- 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?
- Remove parent page from url
- Remove “attachment/” from the URL of attachment pages
- How do I change the permalink structure without getting 404s?
- 404 on internal pages, in all sites in my local server
- how to alter permalink in wordpress?
- Adding User Info to Permalink of User pages – is it neccessary?
- add_rewrite_rule – Page Slug from “/foo-bar/” to “/foo/bar/”
- 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?
- Custom permalink structure only saves with index.php inserted
- 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
- the_permalink() not working
- Already have htaccess but permalink settings not working. Getting 404
- 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
- Flush rewrite rules with scheduled event (cron)
- 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
- Prevent 301 when a trailing slash added
- Why I had to re-save permalink setting after moving my WordPress site to another hosting provider?
- Do shortcodes in title before permalink is generated
- Permalinks custom base to redirect to archive.php
- How to change URL of my pages?
- get_permalink to an anchor
- Pretty permalinks returning “not found” on localhost and server
- Removing or hiding slug/permalink from htaccess
- WordPress Permalink Problem
- Converting WP Page to use full explicit paths?
- Update permalinks
- Losing the original URL when using add_rewrite_rule
- Permalink issues with Ubuntu Server – Infinite loop & Wrong pages
- How can i edit all posts slug in bulk keeping WP native redirect?
- Post/page without slug
- WordPress keep redirecting me to random URLs
- How to make a permalink variable %year% become two digits instead of four digits?
- My permalinks no longer have the “news” category prefix in the link and it’s causing 404 errors for articles published on the web