页面网址问题 [英] page url problem

查看:68
本文介绍了页面网址问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们!!


我有一个网站,我在一个页面中列出所有手机,如


1.nokia 3310

2.motorola p150

3. ..


所以每个手机都有描述页面。所以我把模型(3310)和品牌(诺基亚)在url中传递到一个页面(mobile_desc,php),在那里我得到了$ _GET变量并查询它。


1.现在客户想要一些变化,比如模型和品牌不应该通过网址,所以我如何将模型和品牌传递到下一页,以便我可以使用它。


2.他想要http://xyz.com/nokia3310这样的网页而不是http://xyz.com/mobile_desc.php这样的东西,以便Google可以识别它。

解决方案

_GET变量并查询它。


1.现在客户想要一些变化,比如模型和品牌不应该通过网址,所以我如何将模型和品牌传递到下一页,以便我可以使用它。


2.他想要http://xyz.com/nokia3310这样的网页而不是http://xyz.com/mobile_desc.php这样的东西,以便Google可以识别它。


1.


_POST变量?


hii guys !!

I have a website where in i was listing all the mobiles in a page like

1.nokia 3310
2.motorola p150
3. ..

so each mobile has description page . so i was passing the model(3310) and brand(nokia) in url to a page (mobile_desc,php) where i was getting the $_GET variables and querying it .

1. now client wants some changes like the model and brand should not go through url, so how do i need to pass the model and brand to next page so that i can use it .

2. and he wants pages like http://xyz.com/nokia3310 and stuff instead of http://xyz.com/mobile_desc.php so that google can recognize it .

解决方案

_GET variables and querying it .

1. now client wants some changes like the model and brand should not go through url, so how do i need to pass the model and brand to next page so that i can use it .

2. and he wants pages like http://xyz.com/nokia3310 and stuff instead of http://xyz.com/mobile_desc.php so that google can recognize it .


1.


_POST variable?


这篇关于页面网址问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆