Timeline for Redirect entire website to a single page
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 10, 2020 at 7:53 | review | Suggested edits | |||
Nov 10, 2020 at 13:58 | |||||
Jan 24, 2019 at 10:19 | history | edited | shea | CC BY-SA 4.0 |
deleted 64 characters in body
|
May 16, 2017 at 23:42 | history | edited | shea | CC BY-SA 3.0 |
added escaping through esc_url_raw function
|
Jul 19, 2015 at 13:10 | history | edited | shea | CC BY-SA 3.0 |
`exit` after `wp_redirect()`
|
May 25, 2013 at 4:46 | history | edited | shea | CC BY-SA 3.0 |
added new method for permanent redirects
|
May 24, 2013 at 3:30 | comment | added | shea |
@Tapefreak You can set the HTTP header as the second parameter of the wp_redirect function. Example: wp_redirect( home_url( 'index.php?page_id=183' ), 301 );
|
|
May 24, 2013 at 1:42 | comment | added | Tapefreak | This works great for my purpose as well. Except adding a twist - the site is "down" for good and I want to keep WP up and running serving up the goodbye page as the home page. Is there a way to add a 301 header to this type of redirect for SEO? | |
Dec 21, 2012 at 9:32 | vote | accept | CommunityBot | ||
Dec 21, 2012 at 7:12 | history | edited | shea | CC BY-SA 3.0 |
added 53 characters in body
|
Dec 20, 2012 at 23:12 | history | answered | shea | CC BY-SA 3.0 |