# create empty.html in root folder # redirect desired path to that file # if in wordpress do inside <IfModule mod_rewrite.c> and after RewriteBase / RewriteRule ^foo$ empty.html [L]