Excluding a subdirectory from a wordpress website (Nginx) -
i have domain example.com, goes wordpress site. want create subfolder "tech" within it, ie example.com/tech/. however, subfolder, don't want wordpress treating it's part of wordpress. in way, want wordpress ignore folder, , instead browser direct whatever functions , files place inside folder.
my server running nginx. way set within wordpress optimal, within nginx runner-up, dns configuration modifications last resort. goal here being example.com/tech/ example.com/tech/. make domain point folder , run out of it, want use domain wordpress site uses.
thanks.
dns has no concept of path. once past "example.com", dns no longer potential solution.
however, 1 possible option create "tech.example.com" in dns, point @ same ip normal wordpress site, , you've got options handle request differently based on http header or virtual hosts config.
Comments
Post a Comment