Apache friendly urls

后端 未结 3 1092
孤城傲影
孤城傲影 2020-12-22 07:56

I\'ve got a small CMS system written in PHP and running on Apache. The format of the URLs this CMS system uses/generates is:

/display.php?PageID=xxx where xxx is ju

3条回答
  •  一个人的身影
    2020-12-22 08:22

    well putting something like

    RewriteEngine on
    
    RewriteRule ^about$  ./display.php?PageID=44
    RewriteRule ^products$ ./display.php?PageID=34
    

    in your .htaccess-file shouldn't be the big deal I think...

提交回复
热议问题