Wait, scratch my comment above. :/
- Go to Admin -> Settings -> General
- Ensure WordPress URL remains the same (e.g.
example.com/wordpress
) - Change Site URL to remove the subdirectory (e.g.
example.com
) - For good measure, go to Admin -> Settings -> Permalinks to flush your rewrite rules
That should be all you need.
Related Posts:
- Redirect Restricted Page to 404
- Redirect user to original url after login?
- Redirect to dashboard after login
- Make a video post redirect to next post after completion
- Redirect blog page to latest post?
- WordPress site redirects to different wordpress domain on the same server after reuploading db backup
- WordPress Redirect based on the prescence of a cookie
- Links to an exisiting Page are now redirecting to a draft page?
- Random and Erroneous WordPress Redirect
- Redirect Old domain & posts to new domain homepage
- Redirecting users to referrer page after logging in using custom login form
- Remove lost password form and URL
- add_rewrite_rule to pass entire path as a single parameter
- What is the wordpress way of displaying local external content?
- How To Only Allow Users To View Their Own Buddypress Profiles? [closed]
- htaccess redirect dynamic posts
- Menu links only using http after enabling https, unable to redirect http links
- some url does not redirect from http to https
- Why can’t I access files / directories outside of wordpress
- Return to where the user was, after log out
- Change ‘Back To Website’ link in wp-login.php
- How do I map a subdomain in wordpress to the primary domain in a multisite setup?
- Redirect the non-www version of the site to the www
- Load time cost of using a redirect plugin v direct .htaccess entry
- How to pass email values from one php page to another
- How to redirect after login getting a variable from url (for example with the language)
- How to set 301 redirection after moving WordPress blog?
- How to include error message on login
- Changing domain
- Redirecting amp url to non amp url
- Redirect htaccess does not work correctly with my new wordpress site
- Remove #wpcf7-f2450-o1 with Contact form 7 redirect [closed]
- 301 redirect from old URL structur to new
- Redirect each user to specific pages based on their role
- How to fix too many redirects when enabling SSL for site?
- Custom redirect user after login based on metadata
- wp_redirect () doesn’t work in nginx?
- How to get better performance for redirect from domain.tld/35 to domain.tld/full-permalink?
- Redirect deleted page URL ?p=xxxx
- Have WordPress post redirect to url when accesed from iPad (Safari)
- I want to resolve Redirect Chain [closed]
- How to fix URL with pageid example /?p= too many redirection error
- Conditional redirect to several pages
- Adding query string parameters to URL with same name as custom post type gives 404 error
- Display Freebie Page Content only if Referrer is from Form Page
- Dynamic redirect
- Create header.php redirect in WordPress and with WPML
- Redirect all links form a category to new links on new category
- My redirect URL doesn’t show any pages on my website [closed]
- Forced Redirect on a server migration
- Site Address and WordPress Address settings when using a load balancer
- Prevent “/login” to redirect to “/wp-login”
- Redirect home resets (qtranslate) language
- Redirect certain pages if user logged in
- Login redirect shows white page in firefox
- Redirect to post_id?
- wp_login_form redirect
- Date based redirects of posts that no longer exist
- How can I disable redirect domains?
- When i try to enter subdomain i’m redirected to main domain
- Change my URL from https://www.domain.com to https://domain.com
- redirect wordpress post to new subfolder site on same domain
- Use a 301 to Redirect any 404 from at the blog post level to the blog archive
- Re-Direct ALL Users to the Home Page IF not logged in
- Need to redirect home page only on Woocommerce site if user logged in
- Redirect to dashboard user once you click on Publish page
- Author Archive Page redirecting issue
- Random redirect to wp-admin/install.php
- Changing auth_redirect() page
- How to redirect returning users who previously logged in?
- Why https://www. SUBdomain is redirected by WP to https://MAINdomain
- Redirect based on referer using Advanced Custom Fields
- Swapping current old site to new WordPress site – need to check I’m doing it right
- how redirect users to custom login page when user comment must “login to reply” is clicked?
- Redirect User to Specific Page
- How to redirect a referal url to a signup page?
- .htaccess redirect for old subfolder installation to new subfolder installation and https
- How to modify the WordPress comes with redirect
- Conditional redirect on login using referring URL
- PHP Mistake – Whats wrong here?
- On login redirect to different homepage if user is using a mobile
- Multisite hide subdirectory
- Redirect user to login and then to page where they came from
- htaccess and redirect to new url using regex
- How to redirect correctly a root domain to a subdomain in a subfolder?
- redirect attachment page to category page
- Google PageSpeed: Avoid landing page redirects?
- login_redirect for Mobile Web
- Need rewrite for URL with specific string
- Redirect to 404.php from single.php
- How to make my homepage automatically redirect to an external website?
- How does the flow of htaccess files in sub-directories work
- Redirect to a subdirectory frontpage using without using a WP plugin- what files to edit, and how?
- How to Show different page URL instead of default home page URL
- Stopping media file redirects
- Forcing header cache control in 404 pages
- Regex for pdf’s – Old .asp Site folder structure to new WordPress Media Folder(s)
- Create a custom redirect link that tracks the first visited page and after submitting form goes to first page using formidable forms plugin? [closed]
- WordPress not use site url when redirect 301
- Redirect certain 404 pages to parent page