Did you configure your permalinks? If so, you shouldn’t have this issue. If not, just go to Settings –> Permalinks and change them to suit your needs, for example using Custom Structure and then /%category%/%postname%/
Related Posts:
- Stop WordPress appending `-2` to the end of my url after i change it
- Get default permalink structure from pretty URL’s
- Get current URL (permalink) without /page/{pagenum}/
- How to get pretty URLs with add_query_arg in permalinks
- How to use relative links on my pages?
- WordPress Permalink changes to question mark (?) in URL
- How to prevent apostrophes and quotes from appearing in permalinks?
- Removing hierarchical pages in the permalink
- Update URL Snippet to Canonical Permalink URL
- why does anchor name add a slash to url?
- “.#[random-char-string]” being inserted at end of URLs
- URL Rewrite + Page + Custom Post Type = Unusual Redirect
- WordPress on a subdirectory of Laravel – WordPress pretty permalinks inner page shows laravel
- Pretty Permalinks
- How to create a permalink structure for posts in a specific category
- How to get url of a post from admin panel
- How to make draft posts or posts in review accessible via full url / slug?
- Limiting the number of words or characters in the slug/permalink
- How to increase the character limit for post name of 200?
- How to get the post id from a permalink?
- Custom rewrite rules for feeds of custom queries (query_var query strings in URL)?
- Change website URL without breaking links or images? WP 3.3
- WordPress 3.4 Permalinks Redirection Problem
- How to Remove -14 from WordPress URL (Permalink)
- Using ‘Primary Category’ in URL
- custom permalink/shortlink with base62 encoded post ID
- How can I get the permalink of a post before it is published?
- Change permalink rule if category is called “uncategorized”
- Add a URL prefix to permalinks of News category and sub-categories of posts only
- echo post-permalink without http and www
- Get canonical link
- Confusion about how a URL is being parsed
- How to reset canonical URLs / fix redirect loop
- How to show the homepage on a different url, like site.com/blog instead of site.com?
- Custom permalink for search and pagination
- wordpress api using rest_route for other pages
- Get page by path – honoring permalink settings (urls w/slashes)
- Change blog segment of URL
- How to stop WordPress from removing & from URL?
- Force wordpress to display page with same url structure as categories
- How to bulk edit image url in featured image and product description?
- How can i have a custom post type with more slugs for each post?
- URL rewriting: removing the site’s basename for a specific category
- How to include sub directory in sitemap? [closed]
- Remove -2 from URL; no duplicate pages, no images, no pages in trash
- Host frontpage via example.com and everything else via example.com/blog
- WordPress can generate numeric permalinks, which then 404
- display dynamic content based on url slug on custom page
- How to generate a list of all urls
- Pre-populate Slug / Permalink with URL
- How to use all tags in post permalinks
- Permalinks settings
- mod-rewrite exception? keep #hash in matching urls?
- Unique one time use URL
- Edit permalink for certain pages
- Remove parent page from url
- Suddenly new posts have the default permalink instead of the post name
- Problem with parent page slug only in WordPress admin
- Two URLs of one post is available
- “-2” Being added to end of URL (no duplicate pages, no pages in trash)
- Change permalinks for specific pages
- replacing post ID by custom post name in url
- Post with no tag permalink problem
- Can I change the URL structure for a CPT only?
- How to remove slug from front page?
- How do I structure my permalinks in WordPress?
- How to redirect old permalinks from https://exmaple.com/category/post_id to https://exmaple.com/category/post_id.html
- Make a post inaccessible without a unique ID in the URL
- assets aren’t loading on a page but loads on others? slug permalink conflict?
- Customize URL for specific tags archive
- WordPress keeps removing query var from the URL
- Change Project permalink to custom URL
- Why does one of my pages not have the option to edit the link?
- Using a template file for a specific custom URL
- Giving specific category posts its own permalink structure returns 404
- Extra url paths as variable
- Passing parameter through permalink structure
- How to create a standard WP Page that has the same url as an archive
- Adding query string to multiple page urls in a WordPress function
- Post links broken after migration
- I have Akamai pointing to a WordPress installation with a different URL. Is there a way to make WordPress use this for link generation?
- Added a prefix in URL permalink structure but the old structure still working!
- How to change the URL using rewrite rule in wordpress
- Get value from URL with different types of parameters
- a way to support totally different url structure
- Remove/hide a specify category-name from the url
- How to change URL of my pages?
- Difference and usage of uri (e.g. get_directory_uri) and absolute path (e.g. get_directory)
- When using number in url it is redircting to same page but when using character it redirects to 404
- Issues with WordPress permalinks
- Why is there a # and other characters in URL for WordPress site?
- Custom Permalink Base
- Update permalinks after domain change
- How to avoid duplicate Url for the home page
- Are custom page templates being used to get this permalink structure
- Change permalink in wp-property
- Removing parent page in URL for one page
- How to get the perfect WordPress, WooCommerce, Custom Post Type pretty permalinks?
- WordPress keep redirecting me to random URLs
- Remove parent product category slug from product_cat url woocommerce