Premium Only Content
Use your 404 error page on SystemeIO to recreate the Pretty Links plugin on WordPress.
:: THE CODE :: https://ask.systeme.io/go?u=aHR0cHM6Ly9wYXN0ZWJpbi5jb20vd1hTakRIaWQ&title=THE%20CODE
Hello and welcome to this video! I will show you a way to use your 404 error page on SystemeIO to recreate the functionality of the Pretty Links plugin on WordPress.
It means you will be able to use any short link on your own domain name (or SystemeIO subdomain) to redirect the visitor wherever you want.
It can be used to create short links to your Youtube channel, to affiliate links, to your blog, etc.
The code provided is a script that performs URL redirection based on the current path. It works as follows:
First, it sets up a mapping of shortcuts to their corresponding URLs in an object called 'jamesrecommends'.
Then, it examines the current path of the URL using window.location.pathname.
Using a clever regular expression pattern, it extracts the part of the path that comes after the first forward slash.
Next, it checks if there is a match and if any characters are found after the forward slash.
If there is a match and characters are present, it stores this extracted portion (excluding the forward slash) in a variable called 'jamesto'.
After that, it verifies if 'jamesto' is not an empty string.
If 'jamesto' is indeed not empty, it looks for a matching key in the 'jamesrecommends' object that corresponds to the extracted portion.
If a match is found, the code redirects the page to the URL associated with that shortcut using window.location.href.
If no match is found for 'jamesto', it then checks if there is a 'default' key in the 'jamesrecommends' object.
In the presence of a 'default' key, the code redirects the page to the URL associated with the 'default' key.
However, if 'jamesto' is an empty string, meaning no characters were found after the forward slash, the code also checks for a 'default' key and redirects to its associated URL, if available.
In summary, this code analyzes the path of the URL, searches for matching shortcuts, and performs redirections accordingly. If no matches are found, it falls back to a default URL if provided.
I hope this clarifies how the code operates!
You can copy and paste the code directly into your 404 error page on SystemeIO.
The code is in the description of this video.
Have a nice day. Bye.
:: https://BuildNRoll.com
GRAB YOUR WELCOME GIFTS BY ENTERING YOUR EMAIL ADDRESS ON THE LINK ABOVE...
( Si tu parles français utilise ce lien plutôt : https://le.systeme.io/go )
Subscribe to this channel: https://justdoall.com/mab-youtube
************
************
Facebook group: https://justdoall.com/mab-group
Builderall USA: this Youtube channel talks about Builderall affiliate program and internet affiliate marketing. How to make money with Builder. Builderall tutorial and review. https://JustDoAll.com
Builderall is a registered trademark and "Build'N'Roll" is a participant in the Builderall Affiliate Program, designed to provide a means for sites to earn advertising fees by advertising and linking to Builderall.
-
2:16:01
George Galloway
1 day agoNEW YEAR COUNTDOWN - MOATS with George Galloway - EP 408
145K248 -
18:39
Stephen Gardner
17 hours ago🔥BREAKING! Trump's SHOCKING New Demand | Biden admits DOJ TARGETED Trump Illegally!
112K509 -
1:20:23
Josh Pate's College Football Show
23 hours ago $16.17 earnedCFP Prediction Special: OhioSt vs Oregon | UGA vs Notre Dame | Texas vs ASU | Boise vs PennSt
133K6 -
7:50:03
Scottish Viking Gaming
21 hours ago💚Rumble :|: SUNDAY FUNDAY :|: Virginia has two Verginers, Change my Mind!
135K18 -
1:49:50
Winston Marshall
2 days agoThe DARK Reality of Socialism - Historian Giles Udy
107K128 -
1:09:28
Sports Wars
20 hours agoBengals STAY ALIVE In OT Thriller, ESPN's Ryan Clark SLAMMED, NFL DESTROYS NBA On Christmas
88.3K19 -
9:37
EvenOut
1 day ago $5.79 earnedThe Non-Reflecting Mirror Scare Twin Prank!
75.1K5 -
11:19
Tundra Tactical
1 day ago $7.32 earnedI Saw How CMMG Makes Guns.
79.3K8 -
15:34
Misha Petrov
1 day agoReacting To TikTok’s Most DELUSIONAL Takes!
89.1K81 -
1:52:24
Squaring The Circle, A Randall Carlson Podcast
1 day ago#032 Flournoy Holmes' Artwork Helped Define The Southern Rock Phenomenon of The Early 1970's
61.9K7