A rewrite enables http://example.com/post-title/
to translate internally to the proper query vars to load the requested post. The shortlink does a 301 redirect to the pretty URL because it should not be possible to access the same content from more than one URI. This is so a search engine won’t index the same post under two URIs.
Related Posts:
- Redirecting all old links from previous EE site to new WP site in one go?
- Server (WordPress) redirects files that are not supposed to (using htaccess)
- Rewrite WordPress Custom URL
- Custom rewrite rule
- Alias ‘wp-content’ directory to something shorter (framework?)
- add_rewrite_rule fro html to another url not working
- Double domain name in category URL-s
- Rewrite Preview URL to include index.php
- How to remove wordpress directory slash
- Wildcard forward all posts and pages with few exceptions
- Redirecting /px/?q=x to /px/x/
- URL redirect on updating the post date
- Is WordPress API visible from PHP file called in htaccess
- Redirect htaccess [closed]
- 301 Rewriting htaccess
- 404 redirect based on url
- Fresh install redirects to www, breaking page loads
- Redirect A URL Pattern In WordPress Using .htaccess
- Migration from old CMS to WordPress 301 redirection rules?
- Changes done to .htaccess are not getting reverted back
- Generic htaccess redirect www to non-www
- Custom permalinks with NextGEN Gallery
- How to remove “admin.php?page=” from wp-admin using .htaccess?
- SEO Friendly URLs for my plugin categories
- How do I add a add_rewrite_rule without it redirecting?
- How do I remove a word from a url in WordPress using .htaccess?
- Rewrite rules in .htaccess get overwritten?
- WP Login forms action URLs displayed as pretty URLs in browser (ex with Restore Password)
- WordPress keeps writing rewrite rules to .htaccess
- WordPress Rewrite
- Dynamic URL, not a physical page within the database
- Prevent WordPress from automatically correcting URLs
- WordPress redirection to get url friendly
- WordPress removes spaces in URL on pagination
- Using WP rather than .htaccess to redirect pages/posts
- htaccess: Remove trailing slash from URL ending with .xml/ only
- External/non-WP rewrite rule without QSA
- Remove all categories from URL
- Remove special characters in a URL
- Map alt domain to specific section of website w/o MU
- Rewrite rule to load images from production does nothing
- How to disable the default WordPress redirect to non-www URLs?
- WordPress SSL (https) is not working with custom permalink
- How to redirect http://mydomain/blog/blahblah/ to http://mydomain/blahblah/ in wordpress htaccess?
- Access files at new location using old file paths
- NextGEN Gallery Lightbox – Social Share URL Redirect
- Url Rewriting a dynamic wordpress page
- WordPress .htaccess blocks mine?
- My WP_options db rewrite_rules Does Not Work
- How to disable URL rewriting for specific URLs?
- subdirectory install breaking existing links
- a one-off rewrite rule
- .htaccess rewrite
- How can I dynamically generate an image with a static image URL?
- Change htaccess to redirect to index.php in subfolder
- Cannot access wp-admin without trailing slash – .htaccess configuration for WordPress behind a nginx proxy
- Changed pagination URLS to use p= instead of paged=
- React Router with WordPress
- joomla to wordpress migration and 404 errors issues [closed]
- Rewriting “pretty” blog category URL with htaccess / add_rewrite_rule() causes 404 page
- Redirect a Blogger Page URL to wordpress
- WordPress keeps writing rewrite rules to .htaccess
- How to redirect a link to a new link?
- 301 Redirect all posts urls from .html to / (without .html)
- Edit Permalink Structure For Custom Post Type or Modify .htaccess?
- Re-directing URLs with dates to URLs without dates
- Having WordPress control only certain pages with .htaccess?
- Help with a custom rewrite
- How to redirect Webp files?
- Rewrite specific action url
- WordPress .htaccess ignore path and subsequent .htaccess files in subfolders
- Overwrite WordPress’s URL rewrite not working
- How to customize sub-URLs in a wordpress website (.htaccess)
- Proper way to set up rewrite with Wp
- Custom permalink structure with %postname% in front of domain name
- WordPress 3.1.2 Network Enabled non-www to www
- Exclude subfolder in WordPress permalink
- WordPress is adding “category” word before my actual category name in url (and this is unsolicited)
- Point 404 pages to homepage
- WordPress pagination broken for page 2,3 with custom permalink. Redirects to baseurl
- Remove part from dynamic url and redirect
- Help with .htaccess setup to hide WordPress Directory
- Multiple permalink with and without category for same post
- Pretty URL via Rewrite
- Broken page redirect
- Rewrite URL to get rid of wp-content etc and change URL
- Rewrite URL for attachments
- Moved WordPress to Subdirectory, still hijacking requests to files outside of its directory
- How to add gallery slug to attachment url?
- Rewrite URL query string for all pages
- Make URL like /fr/something display same as /something
- ModRewrite not working properly
- Simple URL rewriting gone wrong
- What is the proper way to use add_rewrite_rule to remove the (question mark)?
- Can’t get pretty permalinks to work without index.php
- How to redirect a virtual page (e.g. /blog) to the home page?
- How to rename the WordPress wp-login.php running on IIS6?
- Using .htaccess to redirect /da/ to / in URL
- WP-Include rewrite directory
- Post pages are redirecting to the 404 page in wordpress