content management system - Creating a page on CMS -


for example:

i create page on joomla or wordpress , save it.

i create entry in menu points new page.

when select new entry in menu page opens on browser.

the url appears points file doesn't exist on server.

what mechanism used cms joomla or wordpress accomplish this?

this typically done url rewriting module runs on web server (mod_rewrite apache or url rewrite iis on windows). rewrite request url /blog/article-title /index.php/blog/article-title or /index.php?q=blog/article-title before website code sees request. then, code in index.php extracts rest of path , determines content serve based on that.

for wordpress, see http://codex.wordpress.org/using_permalinks info how rewrites set up.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -