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
- Custom plugin route in WordPress
- Why is ?doing_wp_cron being appended to my URLs
- Change default URL path (/blog/) of blog posts
- How to deal with WordPress on localhost
- How to convert the file path to a URL of the same file?
- Why is WordPress saving full-urls to the database?
- Force the Website URL to Include “www” and to be Upper Case?
- WordPress and $_GET Params
- Why WP encodes UNICODE (UTF8) containing urls? Any drawbacks of UNICODE url?
- Force home page to be https?
- Check what is at URI (post, archive, etc…)
- Why does WordPress rely on an fully qualified site_url with a 15-step plan for moving a site?
- Why ids in urls don’t work but slugs do?
- Check request URL for pattern
- Adding subdomain to home_url for “add_menu_page”
- Best way to give site sub-page it’s own domain?
- Dynamically change page title from URL param
- Rewrite WordPress Standard Feed URL – /feed/ to feed.xml
- wp_insert_post – How do I prevent incremental numbers on child pages?
- Dynamic URL based on user_metadata
- Check if user is logged in to site A when visiting site B
- wp-admin remove part of the url
- wp_options siteurl and home hardcoded?
- Localhost port is missing on some links after downgrading MAMP [closed]
- Why am I seeing all these weird ‘loginid’ requests?
- Will get_bloginfo(‘url’) return URL with backslash?
- Linking to pages/posts within the site
- How to parse a custom url (within WP site) and obtain params passed to that URL
- How can I identify which file/function will be used to respond to a particular URL?
- Is there a way to test if a URL is part of the current blog?
- Could not find the wordpress page
- An anchor name (id name) in the address bar
- get_template_directory() returns wrong address on VPS
- Image not showing up in media loader success area – followup
- How do I allow http/ftp access to files I have uploaded?
- Want to change my site root
- Redirecting URL with Twitter Button API Not Working
- Need help changing back the correct wordpress url
- Adding Parent Categories and keep current URLs
- How to get a page url segment on wordpress?
- How to make a random dynamic url?
- Different url to same page (with dynamic content)
- WordPress option com_jce should not work
- Too many redirects (ERR_TOO_MANY_REDIRECTS) only on one page
- How to bulk Update URLs to new values?
- WordPress Still Requesting Old Url
- Broken Images and Style
- How to generate expiring URL of the page?
- Got 404 error when changed siteurl via DB in WordPress
- Add more than one query parameter onto wordpress url
- Change of “home” results in timeouts (only on index.php)
- i1.wp.com url problem (Jetpack not installed)
- Change dynamically URL to SEO friendly via .htaccess?
- incorrect url in Snippet editor
- Get userdata from url
- From whence %E2%80%8E at the end of post link
- How to change URL of my pages?
- Modify the WordPress URL
- Duplicate pages with ?s parameter
- Populate Website URL at registration time
- WordPress Update Links
- How to use query string in URL to display content on the wordpress page
- redirect word-press page with page values
- help me remove this additional parameter in url
- How to echo a dynamic url
- How to run Wiki on the same host as WordPress and not get 404 errors when browsing to Wiki?
- What purpose does /embed/ URL have and how to avoid SEO problems?