Permalink - I need help.. plz
Posted: Tue Feb 15, 2011 3:54 am
hello guys
I am new here,
I am creating dynamic pages and storing page name like About Us, Products.. etc in database
Under it I create sub pages like About Us---> History. I am storing "History" title in database. Each title has its own unique ID
I need something like this: When a user want to open History page, the URL in address bar should be like this
http://www.mydomain.com/About-Us/History
or
http://www.mydomain.com/About-Us/History.html
I know this can be done by mod_rewrite in .htaccess... I am seeing many example on net but nothing working for me...
any help in this regard will be highly appreciated..
regards
I am new here,
I am creating dynamic pages and storing page name like About Us, Products.. etc in database
Under it I create sub pages like About Us---> History. I am storing "History" title in database. Each title has its own unique ID
I need something like this: When a user want to open History page, the URL in address bar should be like this
http://www.mydomain.com/About-Us/History
or
http://www.mydomain.com/About-Us/History.html
I know this can be done by mod_rewrite in .htaccess... I am seeing many example on net but nothing working for me...
any help in this regard will be highly appreciated..
regards