I can't add my own index.php files in a custom directory, Wordpress keeps 'overriding' it -
so have index.php file, , want access via domain.com/custom/path/index.php [i know index.php doesn't need there since browser grabs automatically, sake of question thought i'd type in],
but when go path, wordpress kicks in , shows default no results found page requested not found. try refining search, or use navigation above locate post.
why doing that? , how can fix it?
thanks.
you'll need add rewrite rule .htaccess file, along lines of:
rewriterule ^custom/path/.*$ - [l] the [l] tells server stop trying rewrite url after it.
Comments
Post a Comment