我需要向我的网站添加“您在这里”导航链接。例如:
Home->Automobiles->cars
我可以假设的唯一方法是在网页中硬编码链接。如果需要的话,我有很多文件。有什么简单的方法或替代方案可以克服这个问题吗?感谢您的建议。谢谢。
注意:我在我的网站中使用 mod Rewrite 如本例所示:
RewriteRule ^Automobiles/([^/]*)/([^/]*)/([^/]*)/([^/]*)\.html$ /Automobiles/info.php?make=$1&model=$2&ad_id=$3&name=$4 [L]
链接是这样的:
http://www.abc.com/Automobiles/Nissan/Sunny/1/Car_for_sale.html
我需要的导航是这样的:
Home->Automobiles->Car_for_sale
最佳答案
关于php - 如何创建 "you are here"导航,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12507032/