I’ve been looking around but can’t find an exact solution for this.
I have a site that I want to redirect UNLESS they type in any existing URL.
For example (these should worok with or without the www):
www.site.com -> redirect to sub.site.com
www.site.com/nonexistant.php -> does not so redirect to sub.site.com
www.site.com/index1.php -> exists so show it
Any help is appreciated!
Thanks, Chris
If I understand what you’re trying to do correctly, this should do it;