【发布时间】:2015-11-27 05:05:13
【问题描述】:
我想知道是否可以在页面加载时将变量附加到地址栏中的 url。
演示:http://communityimpact.com/discussions/
当前页面已定位,如果类别 = 奥斯汀市中心...希望 URL 加载为 http://communityimpact.com/discussions/central-austin
<?php echo $my_category; ?> = Central Austin
<?php echo $my_category_slug; ?> = central-austin
有什么建议吗?
【问题讨论】: