Checking URL Path for Redirection

If the URL contains "/subfolder", you will stay on this page. Otherwise, you will be redirected.