Hack #8
#8

Create a 404 instant redirect to homepage

When you click this link, you will be sent to a sample 404 page (webflowhacks.com/success/8). The redirect code on that page will redirect you to the Homepage of this site.

  • You will see the url webflowhacks.com/success/8 in your browser
  • Before any content loads, you will be redirected to the homepage
  • Navigate 'Back' in your browser to get back to this page.

With the method of redirect we are using, your browser won't recognize the 404 page as a page in your history. This is good! Nice!

ALL HACKS
#1
Show a custom success message in a Webflow Form default Success state
#2
Show a custom success message in a Webflow Form when using a url redirect within your site
#3
Count and display the amount of items in a Webflow Collection List
#4
Create dynamic Webflow CMS generated anchor links
#5
Customize CMS item filtering parameters with Webflow CMS text fields
#6
Use a GIF as a page preloader AND only show it once per day
#7
Customize Favicon for a specific page
#8
Create a 404 instant redirect to homepage
#9
Use 100% custom slider dots for Webflow Slider component
#1O
Use Interactions and cookies to only play your loading animation once per day
#11
Dynamically submit page url through a Webflow web form submission
#12
Run a function on button click with javascript and jquery
#13
Create a back button with href javascript or jquery click function
#14
Automatically show current year in footer with span and js
#15
Remove anchor link id tag and # on urls within the same page
#16
Remove anchor link id tag and # on urls when loading a page
#17
Use a plus minus counter on your Webflow form
#18
Reject gmail and other non-business emails from form submission
#19
Submit checkboxes, radios, and select as text fields in Mailchimp
#2O
Create sub bullet lists inside a Rich Text element
#21
Create an age gate to confirm the user's age
#22
Show and format the current date
#23
Show and format the current time
#24
Detect the user's browser and run a function
#25
Detect the user's mobile OS and run a function
#26
Run different functions on desktop vs mobile
#27
Run different scripts on desktop vs mobile
CLOSE MENU
x