See the accepted answer to this question: https://webmasters.stackexchange.com/questions/81252/is-a-trailing-slash-appropriate-before-url-parameters
tl;dr Either way is correct, but consistency in the result is the key to best SEO practices, because with/without is a different URL.
If you don’t want the trailing slash (or you do), you can change it in your Admin, Permalinks screen.
Related Posts:
- locate_template with multiple categories?
- Is there a hook to Intercept al urls from a webpage and redirect to a page
- URL parameters causing 404 on home page, but nowhere else
- Redirect to another page using contact form 7? [closed]
- Passing a parameter to filter and action functions
- Get a list of all registered actions
- How can I edit post data before it is saved?
- WP Rest API: details of latest post including featured media url in one request?
- How do I exclude plugins from getting automatically updated?
- Where is the best place to use add_filter
- How to only hook on Single.php after content?
- Preserve custom URL parameter on more pages
- How To Determine If A Filter Is Called In A Sidebar/Widget Context?
- Change Page’s Tag Using functions.php File
- What characters are allowed as a shortcode tag and how should they be sanitized?
- How to disable Gutenberg editor?
- Edit plugin without hooks in functions.php
- How to remove filter added by another plugin in a class
- Which method is best to enqueue scripts
- How to make WordPress use protocol indepentent upload files?
- WordPress apply_filters() Arguments Missing
- plugin_action_links Filter Hook Deprecated?
- Filter Hook on plugin update
- Using add_filter inside another class
- How can I show drafts in wp_dropdown_pages list?
- How to list the Hooks and order of execution in current loading page? [duplicate]
- Removing user contact methods works from functions.php but not from a plugin
- Hide WordPress Plugin Deactivation Links
- Alter post slug by a filter that is fired just after a post is created
- Use external link in the add sub menu
- Woocommerce different URL for every table placed in the restaurant
- Author Specific URL’s in WordPress
- Pass A Value From Outside To A Plugin Variable
- Is there any multiple filter/criteria plugin for wordpress? [closed]
- Failed to invoke other hook from the init hook
- Does the ‘nav_menu_css_class’ filter accept 2 or 3 arguments?
- While Using Static Pages, How Can I Get /blog into the URL of Each Post?
- Very stubborn wp_register_script / add_action vs remove
- How to prepend to the_title for admin-side plugin’s use
- Add query string to plugin URL
- do_action and hook methods
- How can I filter blog name?
- Remove action from a plugin class, forced to use global instance
- why does the add_action(‘the_content’) overwrite my page
- ElasticPress how to Include Meta to the mapping?
- remove filter which calls a public static function
- I need to generate the CSS for my plugin from a function, how do i map a request to a function in the front-end?
- How to filter content post only on save
- Is revealing just the AUTH_KEY a security issue?
- Filter or action hook to insert content on admin pages before tag
- There’s some way to add a wrapper around posted images?
- Custom preview_post_link not working for draft post
- plugin_action_links_{$plugin_file} hook not in the main plugin file
- Creating search filter through plugin
- Woocommerce Shipping module available only for type of products [closed]
- Add Fields with Sub-Fields to WP Job Manager
- Determine plugin name from within plugin_action_links filter
- merging an array to an existing array using add_filter
- add_filter the_content in functions.php not working
- What is the purpose of $merged_filters?
- How can I pass a variable to a page with a SEF url?
- custom taxonomy and custom post type url conflict
- Changing image URLs in media library
- Reposition Woocommerce Message
- Gutenberg Blocks – Change EDIT part of the block using editor.BlockEdit filters. How to change the markup?
- How to remove xmlns on language_attributes()?
- WP Job Manager Category Drop-down; Change Placeholder Text Via Filter
- Find the URL of the current plugin directory
- Rewrite url without flushing the database?
- Randomize attachment IDs
- How to modify shortcode attributes with data from current post
- Custom page slug without creating a WP page
- add_filter comment_edit_redirect not working
- Pass info from functions.php to plugin
- WordPress Social Login > Post to a users Facebook wall
- Best way to hook a custom url?
- Is there a filter for get_post_custom()?
- Can I hook into get_avatar to supply a hash instead of an email?
- add_query_arg not working
- Changed permalink structure. Need help with redirecting old posts
- Change permalink structure hidden button edit
- What is an arbitrary URL?
- When to call add_filter
- How do action and filter hooks understand where to look for the core function that we hooked our function to them
- How to append to title via functions.php for auto-posting plugin [duplicate]
- Edit default comments page in WP Admin
- Inserting above the comment template
- How can I change a plugin’s URL?
- Creating a plugin to sanitize comment and the url field before display only
- How to find the origin of a file upload from within wp_handle_upload?
- Modifying the comments section through a plugin regardless of theme
- How to make a proper custom post type link
- How to get the element ID from new menu list that added with add_filter()?
- Why WordPress plugin url ajax doesn’t work?
- Added slug after URL permalink last slash returns different content
- White page by using filter template_include
- How to check current user before all actions and filters?
- How do I create a filter feature on WordPress? [closed]
- Create a navbar filter that filters by a custom field
- Passing an array from shortcode-function to filter-function