After browsing all my dashboard, the solution turned out to be simple:
Navigate to:
Dashboard -> settings -> permalinks
For some reason “Custom structure” was activated. I simply had to choose “Post name” instead.
Now all my links look as they should.
Related Posts:
- Access files at new location using old file paths
- Change the “page” slug in pagination
- Change author base slug for different roles
- Using custom/dynamic “slug” for a page
- Display posts with author in the url with custom post types
- How to seamlessly redirect between different archive and singular slugs?
- How to add dot(“.”) in post slug
- How to change default page slug?
- Handle category name URL rewrite before different post type slugs
- Changing directory and/or URL structure
- How to change ?lang=cn into /cn/
- custom htaccess rewrite rule for page
- Removing CPT slug from URL results in 404 error for archive page
- Add a query string to ALL links on site
- Multiple Permalinks for Same Post
- Adding more pages to author pages
- Using Blog Parent Slug on Blog Posts Only
- append url parameters to all links
- Load a template page based on part of slug in wordpress
- Removing “category” from URLs then “add_endpoint()” won’t work…
- How do I change attachment slug from name to id
- Adding special characters to slug?
- subdirectory install breaking existing links
- Rewrite URLs – Custom Post Type – Post Slug, Taxonamy Slug
- Preserve old website URL structure after migrating to WordPress
- How to create a front end user profile with a friendly permalink and a 404 trigger
- Attachment page gives 404 if user not logged
- How to change the Author Slug from Username to Nickname and deal with Special Characters
- Using a custom 410 page
- How to change custom post type slug
- Disable WordPress from changing URL slug when post is published
- 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)
- Why when I enter bad url wordpress doesn’t return error 404
- 404 redirect based on url
- Thousands of 404 errors on old posts due to embedded links
- Can’t use a specific custom URL (slug)?
- Adding Theme File for Non-WordPress Content
- Page not found: Custom search form with a custom search page
- How to transform multiple parameter URL to clean URL
- Make the home page’s slug visible in the browser’s URL bar
- Trying to add array of paths to post permalink
- Show index.php template instead of 404 page template
- Changing the wordpress default search url to something like – …example.com/search?query=keyword
- How to add dot(“.”) in post slug
- WordPress is adding “category” word before my actual category name in url (and this is unsolicited)
- Rewrite WordPress Url from root to subfolder without moving files
- Redirect empty search to another page
- ../../page-name backend links are not rewritten
- Custom taxonomy named ‘tag’ return 404 page
- Change author base and slug in author link
- Why is there a 404 on page 2+ for my search page?
- Param causing 404
- WordPress numeric (yearly) page names / disable yearly archives
- Post & Page with same slug
- How to add 2 variable 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
- Error 404 wordpress redirecting URL
- Remove Page Slug from URL
- URL Rewrite when WordPress is in subdirectory
- Needed to change slug to access page
- add_rewrite_rule is not fired
- Stop wordpress to redirecting home page if no page found
- Pagination posts. Url format
- How can i maintain permalink structure and avoid a 404 error when loading external content?
- 404 for index.php
- Change the slug ( url ) to a sequence number starting from 0 in the custom record type?
- Custom post type Premalinks main page and details page
- How to disable WordPress canonical redirect to nearest matching URL and force 404 Page?
- Unique URL Every Time
- Rewrite default post type
- How can i avoid the permalink start with ‘blog’ while using the custom post type?
- Google is indexing wordpress attachment pages
- Getting Post ID from slug during init
- page is not redirecting
- Taking a value from PHP_URL_PATH won’t work after WordPress 5.5 update
- Why is WP creating both “/?tag=” and “/tag/” URLS for same content?
- custom url rewrite
- Plugin action rewrite rule – non_wp_rules
- WordPress plugin Write User/staff ID as the same as the WordPress User ID
- Posting with slug “favicon” gets redirected
- Help with static front page blog at /blog
- Translate custom post type and taxonomy slug in URL?
- Custom rewrite after the default term link URL
- How can I reduce the number of rewrite rules?
- Create a page that can be used for different URLs
- WordPress how to prevent URL encoding in URL of taxonomy terms
- How can I add a vanity URL for admin-ajax.php Calls?
- Remove part from dynamic url and redirect
- Rewrite rule can’t get the ID from rewrited
- Pretty URL via Rewrite
- Moved WordPress to Subdirectory, still hijacking requests to files outside of its directory
- ModRewrite not working properly
- Need help with custom rewrite rule
- Relative URL filtering
- get_permalink is getting old rewrite rule
- Rewriting URL does not automatically log me in
- Use custom clean URLs for a plug in
- WordPress Post url encoding problem
- Problems Implementing Non-WordPress Rewrite Rules