add this line to functions.php
remove_filter('template_redirect', 'redirect_canonical');
and don’t forget clear cache or test on clean browser
Related Posts:
- How to remove “http://” When Echoing URL?
- Remove / from www.example.com/ [closed]
- Showing my server ip in source code for several links not for all links
- Cannot access WordPress website from external IP while internally it is working properly [closed]
- Making a site URL
- What’s the difference between home_url() and site_url()
- Getting the Site URL Including the Front Base
- How to remove /index.php/ from URL’s
- Run WordPress frontend and backend in different domains
- Unable to load static front page on home url
- Change homepage url
- How can I change all links on pages to point to a different domain from where the site is hosted?
- home_url(); showing current page instead of site address
- URL parsing – what is it?
- Changing my site url from azure.net to custom domain
- Avoid the removal of “https:” from URLs
- Confusion about Site url and directory
- hijacking home_url for root relative paths
- WordPress get parameter ‘unapproved’ and ‘moderation-hash’
- Changing the website URL to the root folder
- How do I avoid messing up URLs when switching from example.com/subdir to example.com?
- DNS – Change WordPress Site Name?
- Alternatives to site_url() and get_template_directory_uri()
- What is the best way to revert to www version of domain name?
- Changing siteurl in the database not working
- How to make a seo friendly URL of 2 different pages with same words
- Why my URL has an unknown character string?
- Moving Site: Is Re-downloading Files After Changing URLs necessary?
- Two domain site: Link base URLs point to wrong domain
- How to retrive previous Domain URL in Wp
- Accidentally Changed WordPress Url
- Lost WordPress website access after changing URL [closed]
- My Website’s Main URL redirects me to an Archive Page
- Can’t change url because site address is greyed out
- How to Convert Parent Page’s URL in Singular Name format when Child page is open
- Problem with guids and absolute links
- WPML Get url without outputting
- How to inject custom url path for page ?
- Weird: /?name in URL leads to blog
- I am Looking to append URL Parameter to all URLs
- Login to wp-admin “redirect_to” points to wrong URL after migration
- Is dynamic URL possible in WordPress
- Accessing the Current URL in a Text Widget for a Facebook Share Button?
- Is ‘name’ a reserved word in URL’s?
- How to create a custom page base on URL for WordPress?
- How to make menu items active based on hash
- Multiple domain names for one site
- How to always rewrite author archive page URL even if the author does not have a post
- How to retrieve TLD domain for the current website?
- Special domain for a page
- urlencode query string in gravity forms confirmation redirect
- Pages other than Home page not displayed even when URL is good
- How to server wordpress from SSL and non-SSL URLs
- Author Nickname URL Friendly
- How do I test my localhost WordPress project with VirtualBoxVM?
- How do I link to a blog not set as the homepage?
- Updating URLs in many posts
- Save URL into database
- Imported 10 000+ posts, custom field showing link not displayed
- URL issue after migrating to dev site
- Renamed my website (URL) – how do I rename all within-page links to the old URL?
- Moving a WordPress site – Installation issue
- What can I replace ‘.get_bloginfo(‘url’).’ with to return the current URL rather than the home address?
- How to get CGI variables?
- What is the best way to figure out which template file that a “pretty permalink” is using?
- WordPress Subcategory Creates 2 urls for same page (serious issue)
- How to see an item in the admin from its URL? (not sure if it’s a page, post, or what)
- Nginx WordPress and another Web app URL structure
- Pass form input via url variable
- Rewrite Most WordPress URLs
- Wrapping add_query_arg with esc_url not working
- How to make WordPress urls matching static html urls
- Hook for feed creation?
- Go back to my home page
- Changed domain name and all the 301 redirects work except the ones for the thumbnail image which return 403 Forbidden error
- Thousands of unwanted URLs/pages with “0” in slug created
- WordPress is adding “category” word before my actual category name in url (and this is unsolicited)
- WP returns to domain root instead of siteurl
- How to remove % character from url
- Can non-latin characters appear in slugs?
- SSL not working fine, Home url not matching with site url wordpress errors
- There is how to change url domain on some posts?
- how to set url in admin option page
- mysterious issue with stop words in urls not working – how can I restore multiple url access?
- What does this structure of the URL mean? http://www.example.com/?i=0
- How to create URL for Pages/Posts
- Private Messages between users
- Navigation and Permalink not getting correctly
- How to create a dedicated folder for specific role via registration
- Duplicate content with the same URL, google authorship
- Modify WordPress to not replace + (plus) characters from URLs?
- Accessing a file saved outside webroot in a wordpress post
- Enabling canonical links to force search engines to go to site.com rather than site.net [closed]
- Why my wordpress site URL does not begin with my domain?
- Is There a Way to Schedule URL to Content Updates?
- I changed my url and cant access my site, Help?
- Select Tab name to show in browser’s URL
- How to make media URLs Unique
- Leave login URL for my user beautiful
- Unable to Retrieve Query Parameters Passed in URL