.htaccess RewriteRule for Flat Links

后端 未结 2 926
囚心锁ツ
囚心锁ツ 2020-12-22 04:34

I am pretty new to using the RewriteRule, so I am likely missing something obvious, but I have a PHP script that takes URL variables like this:

{baseurl}prop         


        
2条回答
  •  自闭症患者
    2020-12-22 05:25

    If you look at your rule ^properties/([0-9A-Za-z]+)/$ you see that it needs to end with a forward slash. You can either remove that or make it optional like ^properties/([0-9A-Za-z]+)/?$.

提交回复
热议问题