Add the following to your .htaccess
, in between the <IfModule mod_rewrite.c>
:
RedirectMatch 301 /home /homepage
Redirect 301 / /homepage
However, as Omar suggested, you can change your homepage through your [dashboard] by doing the following:
- Go to Settings > Reading
- Under Front page displays, select A static page (select below)
- Next to Front page: select the page for your new homepage from the dropdown menu
- Click Save Changes
Related Posts:
- Old blog/ and blog/feed/ URLs not working after moving blog to top-level via .htaccess
- Redirecting WordPress /.htaccess / HSTS / SSL
- RedirectMatch and Redirect interfering with each other
- Why specific file directory fails to redirect but its parent folder succeeds?
- https multiple redirects
- How to redirect URL with subfolder to the same URL but without subfolder?
- How can I replace my primary url globally with a parked one?
- Redirections and rewrites to subdomain
- reducing number of URL Redirects and increasing speed
- URL masking of subdomain to main domain using .htaccess
- Redirect old query string URLs to new add_rewrite_rule URL
- HTTPS to HTTP rewrite rules not working as expected
- ErrorDocument 410 gives me back a 302 header
- How to create multiple Rewrite-Rule for various site in single htaccess?
- Redirect only PDFs in different folders?
- Cannot get 301 redirection in htaccess to work (either Redirect or Rewrite)
- htaccess and redirect to new url using regex
- Redirect ignore last URL segment
- How to prevent automatic redirection of 404 errors and “incorrect” URLs?
- Redirect user to original url after login?
- WordPress Redirect All HTTP requests to HTTPS via .htaccess
- 301 redirect not working through .htaccess
- Site redirects to wrong url when saving settings
- Index in root, wordpress in subdirectory
- 302 redirect instead of 301 after switch to HTTPS
- Redirecting to home-page when saving any edited code
- Random and Erroneous WordPress Redirect
- Server (WordPress) redirects files that are not supposed to (using htaccess)
- add_rewrite_rule to pass entire path as a single parameter
- htaccess redirect – directory and subpages to a single page
- Can WordPress redirect to a “similar page” in case of 404 error
- htaccess redirect dynamic posts
- Hacked website redirect, only on desktop, help with restoring it [closed]
- Menu links only using http after enabling https, unable to redirect http links
- url keeps redirecting to a page
- How to create a 301 redirect that doesn’t apply to subsites
- How to exclude a directory from WordPress permalinks in a Multisite environment?
- Why does multisite bypass WordPress for wp-content, wp-admin, wp-includes and .php files?
- some url does not redirect from http to https
- Why can’t I access files / directories outside of wordpress
- https redirect (with .htaccess) redirect loop
- Redirecting old post url to 404 in wordpress using htaccess
- How to redirect subcategories to a page?
- Why does wp_redirect strip out %0A (url encoded new line character) and how do I make it stop?
- How to redirect to home page after registration?
- Redirect blog archive into certain format
- CNAME vs A Record for WWW – with 301 Redirects
- How to publish new posts/pages in root instead of subfolder, but keep old structure in place?
- forward domain name to particular page?
- htaccess redirect – replace special character
- Any action in wordpress redirects me to home page
- htaccess 301 Redirect not working for WordPress site
- Custom Permalink
- Adding rewrite rule dynamically for search results redirecting to 404 URL
- Redirecting amp url to non amp url
- I need to redirect an entire subdirectory in WordPress to the homepage – is this correct?
- Redirecting old permalink structure to new in htaccess
- Redirect htaccess does not work correctly with my new wordpress site
- Redirect – remove custom query string
- Is WordPress API visible from PHP file called in htaccess
- How to forward all requests starting with a specific folder name to the same folder
- Issue redirecting ‘blog’ to ‘news’ in WordPress using .htaccess
- Use two different index pages
- Redirect /home to home.php
- I want to resolve Redirect Chain [closed]
- How to fix URL with pageid example /?p= too many redirection error
- Redirect old URL (with different post ID) to new URL
- How to redirect an old page url to the homepage
- Custom URL routes
- My redirect URL doesn’t show any pages on my website [closed]
- redirecting an entire WP site from one top level domain to another
- Is there way to redirect all blog post pages to Home page?
- Temporary Infinite Redirect Loop
- A question about .htaccess
- Date based redirects of posts that no longer exist
- Add new post redirection [closed]
- How to Redirect WordPress domain.com/?anyword to 404 Page?
- 301 all old pages to new location
- Use a 301 to Redirect any 404 from at the blog post level to the blog archive
- Understanding Redirects
- Error in /blog redirection – ubuntu default WP installation
- 302 redirect *.at/site redirecting to .comsite
- Loading /wp-content/uploads/site as /site/
- How do I skip wordpress’s 404 handling?
- Allow GET request on certain page
- .htaccess redirect for old subfolder installation to new subfolder installation and https
- How to 301 redirect to subdirectory but keep access to wp-admin of main domain
- Pagination redirect set in .htaccess file is not working
- Redirecting a POST to a php script
- International characters in slugs to redirect to
- How to redirect correctly a root domain to a subdomain in a subfolder?
- Debugging a redirect loop affecting only certain pages
- How to permanent redirect old domain to new one. in case amazon store
- Need rewrite for URL with specific string
- How does the flow of htaccess files in sub-directories work
- WordPress redirect from one directory to another but exclude wp-admin and wp-login.php
- How to Redirect Url to homepage?
- How to change Ugly link?
- Standard Htaccess directives disappear by themselves
- Redirect old homepage to the new one within the same site