Yes this this doesn’t work when you have custom permalinks enabled. See the red warning box on the page you linked:
WARNING: If you are using custom permalink, the trick below does not work, see this: http://core.trac.wordpress.org/ticket/7592.
The trac ticket was closed as invalid so doesn’t look like this will change.
Related Posts:
- How does routing on wordpress work?
- Pages other than Home page not displayed even when URL is good
- 404 error when passing “cat” parameter to URL
- Twitter shortlink 404 not found [closed]
- how to trace a file by the route url
- How to properly print a 404 error without redirecton? (i.e. keeping the current URL)
- Multiple duplicate URL’s
- Moving Website-URL
- WordPress dynamic subpage for ACF
- wp-login.php ampersand in url results in 404
- Custom plugin route in WordPress
- Why is ?doing_wp_cron being appended to my URLs
- use query string in URL to display content on the page
- 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?
- Get taxonomy slug from url
- Load images with http urls inside https post
- Force the Website URL to Include “www” and to be Upper Case?
- WordPress and $_GET Params
- REST API: No route was found matching the URL and request method
- List of default WordPress URLs
- Why WP encodes UNICODE (UTF8) containing urls? Any drawbacks of UNICODE url?
- Unable to load static front page on home url
- Force home page to be https?
- add_query_arg() One Key with multiple values
- Change homepage url
- How to update media links in WordPress after migration?
- Check what is at URI (post, archive, etc…)
- How can I change all links on pages to point to a different domain from where the site is hosted?
- Is there a ‘rake routes’ for wordpress?
- Why ids in urls don’t work but slugs do?
- Changing my site url from azure.net to custom domain
- Check request URL for pattern
- Rewrite WordPress Standard Feed URL – /feed/ to feed.xml
- Set a custom URL for image in the Media Library?
- wp_insert_post – How do I prevent incremental numbers on child pages?
- Dynamic URL based on user_metadata
- How to edit URL Slug?
- Check if user is logged in to site A when visiting site B
- Publish Post when URL is available else reschedule the post in wordpress [duplicate]
- Change url links on members loops in buddypress
- Find file url in post content and add it to media library
- WordPress randomly shows 404 errors
- Localhost port is missing on some links after downgrading MAMP [closed]
- rewrite taxonomy-{taxonomy}-{term}.php terms
- Why am I seeing all these weird ‘loginid’ requests?
- display dynamic content based on url slug on custom page
- Confusion about Site url and directory
- URL parameters causing 404 on home page, but nowhere else
- Multiple URLs with Numbers
- hijacking home_url for root relative paths
- Will get_bloginfo(‘url’) return URL with backslash?
- Can anybody provide me with a function to generate slugs?
- Is there RELATIVE_PATH, like ABSPATH
- Accessing WordPress using “localhost” and local ip at the same time
- Porting site URLs to new host but with same domain name [closed]
- My #id is not showing in the url when the user clicks on the anchor tag
- Is there a way to test if a URL is part of the current blog?
- Showing my server ip in source code for several links not for all links
- An anchor name (id name) in the address bar
- How to prevent unknown addresses which are accessed from my wordpress website [closed]
- get_template_directory() returns wrong address on VPS
- Is there an URL listing latest posts
- Need help changing back the correct wordpress url
- Adding Parent Categories and keep current URLs
- Different url to same page (with dynamic content)
- How rewriting a url to make it SEO friendly
- WordPress option com_jce should not work
- Custom route and extract data from slashes and parameter
- Too many redirects (ERR_TOO_MANY_REDIRECTS) only on one page
- Add a paramter to page url
- Why my URL has an unknown character string?
- No url when downloading PDF
- Post not redirecting to non www after changing from www
- i1.wp.com url problem (Jetpack not installed)
- Param causing 404
- incorrect url in Snippet editor
- Use URL parameter to create dynamic content
- Generate new URL for popup form
- In-page link works in Firefox but not in Chrome
- My website has some Crawling Errors?
- How can I modify the ‘Insert/edit link’ option to offer root-relative urls?
- Modify the WordPress URL
- Duplicate pages with ?s parameter
- bloginfo no show the right path
- After site transfer I’m still getting redirected to the old site (WordPress)
- help me remove this additional parameter in url
- All font sizes change when manually typing 2011 into url and going to archive page
- apply styling only to a specific url
- URL, which automatically close tab
- WordPress keep redirecting me to random URLs
- How to run Wiki on the same host as WordPress and not get 404 errors when browsing to Wiki?
- Replace media external links with local links
- WordPress URLs changed to relative on transferring server
- My Website’s Main URL redirects me to an Archive Page
- Custom URL structure
- Automatic short URL in posts
- WordPress Site: PDF’s are replicating virtual URL’s