I have a page called 'Cars' with slug cars
. Is it possible that the page works as normal at this URL http://example.com/cars/
and http://example.com/cars/audi/
can be used to show something some special content that is not a child-page but from a custom php file.
Can I add URL rewrite rule like this add_rewrite_rule('^cars/([^/]+)/?','index.php?make=$matches[1]','top');
I'm trying it but it doesn't work stucks in a redirect loop, looks like WordPress is trying to find a child-page may be, I could be wrong.