php - How do you not show the WordPress plugins directory path in the browser? -


let's have plugin shortcode generates form in post/page, , form's action attribute set script located in same plugins directory shortcode generated form. how make wp not expose path plugins directory when submits form?

basically, want domain.com/wp-install-dir/wp-content/plugins/plugin-name/process_form.php map domain.com/plugin-name/process_form.php, wp-install-dir/wp-content/plugins part of url path isn't exposed user.

is there wordpress way of specifying path script in plugins directory not expose location of plugins directory in browser, or have set .htaccess/mod_rewrite? hope i'm asking question clearly.

http://codex.wordpress.org/class_reference/wp_rewrite

working rewrite/routing system advanced gets wordpress plugin developer. should competent programmer , comfortable reading others' code , debugging own.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -