English 中文(简体)
SEF url, 而不通过id
原标题:SEF url without passing id
  • 时间:2011-02-26 09:04:45
  •  标签:
  • sef

客户对电子商务网站的需求 我们尝试了,并发挥了良好作用。

现在审议如下:

www.store.com/product/12345/men_tshirt.html

This works fine. I write the rule to pass the id as query string (product.action?prt_id=12345)

但是,客户希望URL成为孤儿。

www.store.com/product/men_tshirt.html

如何做到这一点? 如果不通过产品,如何确定产品?

问题回答

为了按预期完成这项工作,men_tshirt 一部分需要成为新的识别码,以确定先前由<代码>12345确定的资源。 因此,<代码>men_tshirt在这方面必须具有独特的价值。

然后,你需要把这些文字识别资料绘制成数字识别码。





相关问题
PHP Search engine friendly urls and caching

I m considering ways to develop a site, planning to get some 100-10.000 visitors daily. (fingers crossed). I used Prado framework for "backend" (admin access), but I m not sure how well would Prado ...

how do i make my application url Pretty (SEF) with htaccess

this is the url my application uses http://mydomain.com/index.php http://mydomain.com/video.php?id=29 http://mydomain.com/news.php?id=33 http://mydomain.com/photos.php?albumid=10 http://mydomain.com/...

wordpress plugin help

I have created a plugin where I am passing a variable through the url. The variable is the id of an item from the database. In the database I have a stored search engine friendly field that I could ...

Generating SEF pages in a php/mysql/apache environment

I m planning to create a blog using php/mysql on apache (probably on a linux machine, if this info is at all important). I would like to test out YII framework for that purpose, and would also like to ...

How to clean up Joomla! URLs?

I have been at this for a couple of months now, on and off. I start looking for the solution and i quickly get frustrated with the incomplete or overly complicated answers i keep finding. All I want ...

site map generation problem

I am using sef servicemap compaonent for my joomla site.it is not generating the sitemap properly.what the changer i need to do. Thanks, Raghu.P

我怎样做干净的搜索灯?

如果我能找到许多不同的选择,那么尿素就会变得很长,而且看起来非常坏。 是否有改进尿素的通道? 利用POST进行搜捕将保持尿液的清洁,但......

热门标签