The basic idea of this framework is to maintain the template easily. This framework helps to develop websites very fast which is also easily maintainable by the designer with little knowledge of php
As we know the basic template is with header, footer and body. the header footer is always constant. So for multipage static websites is always a problem for a designer/programmer to update the header footer.
The simple solution is to keep the inner page to a separate folder and include the page into the index page.
url : www.website.com/?page=aboutus.php
With the above solution the only problem is the url, which is not friendly and very difficult to maintain.
So the solution of the problem is .htaccess. with the help of .htaccess we can redirect the url which is also transparent to the visitor.
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?page=$1 [L]
RewriteRule ^(.*)$ index.php?page=$1 [L]
This means whatever after www.abcd.com/ with redirect as www.abcd.com/page=
So if person is typing url www.abcd.com/pagename
Will redirect to www.abcd.com/page=pagename
What we can concluded that this framework can give us seo friendly url and also easy updated template .
download the code :
http://www.easy-share.com/1912969926/fashion 2.zip
demo
http://motionminds.in/
pls give me feedback
No comments:
Post a Comment