Redirect Gravity Forms Based on an Answer
Sends people to a different page after submitting a Gravity Forms form depending on what they chose in one field, such as a sales or support thank-you page.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Sends people to a different page after submitting a Gravity Forms form depending on what they chose in one field, such as a sales or support thank-you page.
Sends visitors (and search engines) from single events that ended more than a set number of days ago to the main events page with a 301 redirect, keeping your calendar fresh.
When an address like /services/old-offer/ no longer exists, sends visitors to the closest existing level above it, such as /services/, instead of a dead end.
Sends requests for resized images that no longer exist, such as photo-300x200.jpg after a theme change, to the original upload, fixing broken images in old posts and on other sites.
Sends customers who create an account from the My Account page to a page of your choice, such as a welcome page or the shop.
Sends people to a page of your choice (for example a welcome page) after they register through wp-login.php.
Sends visitors from addresses of a previous static site, such as /about.html or /services/web.php, to the WordPress page with the same name.
After you stop using an AMP plugin, permanently redirects the old /amp/ and ?amp=1 addresses to the normal pages, so search engines and shared links do not hit errors.
After switching from /2019/05/post-name/ style permalinks to plain post names, sends visitors and search engines from the old dated addresses to the right posts.
Remembers the address of each post or page you move to the trash and sends later visitors to its category, parent page or the blog page instead of a 404, even after the trash is emptied.
Permanently redirects addresses typed or linked with capital letters, such as /About-Us/, to their lowercase form, avoiding duplicate URLs and broken links.
Sends each user to a welcome or onboarding page the first time they log in, and to the usual place after that.
Sends visitors from the countries you choose to a regional site or page, using the country header added by Cloudflare, CloudFront or your host, with search engine crawlers left alone.
Sends visitors to a different thank-you page after a WPForms form depending on the option they picked, such as separate pages for sales and support.
Sends visitors from a category archive to a hand-built landing page, for example /category/news/ to your Newsroom page, while posts keep their category.
Sends visitors who open the cart page with nothing in it straight to the shop page instead of showing an empty cart.
Sends visitors who land on the Easy Digital Downloads checkout with an empty cart to your products page instead of showing "Your cart is empty".
Permanently redirects every request that arrives on your previous domain to the same address on your current domain, after a rebrand or domain move.
Sends visitors who open wp-login.php?action=register to your own registration page.
Sends customers to your own thank-you page after a successful order instead of the default order received page, passing the order number along.
Sends first-time commenters to a page of your choice after they submit a comment, instead of back to the post.
Sends visitors to a thank-you page after a Contact Form 7 form is sent successfully, with a different page per form if you like. Handy for conversion tracking.
Sends users to your homepage after they log out instead of showing the "You are now logged out" login screen.
Sends visitors who arrive on the other version of your domain (with or without www) to the one set as your Site Address, so search engines see a single site.