How to rewrite / route / redirect to static php-file in wordpress theme?

I have a WordPress theme build from scratch ( not really, using -underscore starter theme… ).

I need to redirect users pointing to http://site.xxx/styletile to my kind-of-static file styletile.php in my theme directory.

What is easiest way?

Read more here: How to rewrite / route / redirect to static php-file in wordpress theme?

Leave a Reply

Your email address will not be published. Required fields are marked *