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?
- WordPress pagination error when using ACF CPT rewrite slug & Polylang CPT slug translation
- Switch WordPress to non-absolute links? [closed]
- How to create custom URL routes?
- How do you create a “virtual” page in WordPress
- Cannot access non-wordpress subdirectories as wordpress overrides them with a 404 error
- How to create a front end user profile with a friendly permalink
- Use a template file for a specific url without creating a page
- Using the Rewrite API to Construct a RESTful URL
- Does WordPress keep track of a post’s URL history and provide automatic redirects?
- Change the Author Slug from Username to Nickname
- Understanding add_rewrite_rule
- Override default url for author pages?
- web.config conflict on IIS
- Rewrite Slug for CPT Archive Pages to Plural Name of Slug
- Masking wp-content/themes/name/images to just images directory using htaccess
- custom taxonomy and pages rewrite slug conflict gives 404
- Two (or more) parallel (sub-)TLDs that are retained when surfing the site / dynamically set the site address?
- Remove taxonomy base or term from url
- How to make pages slug have priority over any other taxonomies like custom-post, post or category
- Rewrite rules not working in WordPress
- How to retrieve $_GET variables from rewritten URLs?
- Dynamic Endpoints
- Passing parameters to a custom page template using clean urls
- rewrite rules and querystring
- Adding rewrite endpoint breaks static front page
- How to add custom rewrite rule to .htaccess?
- How do I remove a rewrite rule?
- How do I add a server-independent external rewrite rule?
- Multiple endpoints to same page
- Problem with add_rewrite_rule and pagination (paged and page query_vars)
- Use subdomain for certain urls