PageHandler In php -
PageHandler In php -
i working in application wordpress. need php class handle url request eg : if u load below url in browser
http://somename.com/myaboutpage/
the handler should load file about-us.php
theme folder
and if utilize below url
http://somename.com/action/login/
the handler should trigger file login-action.php
application core , homecoming values
how possible..
i tried study how elgg & wordpress handle request. unable exact.. please help me.
note pages create dynamic need page handler dynimic word press permalink handler
have set base_url in index.php file? if have, check see if set, if isn't means user has somehow managed navigate straight about-us.php file.
if(!defined('base_url')) { require('/*your index.php file*/'); header('location: base_url') exit; }
php
Comments
Post a Comment