求 .htaccess 跳转规则 要求将 类似于 http://wwww.adna.com/asdasd/9889/index.html?from=9292 跳转到 http://wwww.adna.com/asdasd/9889/index.html 这个该怎么写呢? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 RewriteEngine onRewriteBase /# hotelRewriteRule ^index_(.*)$ index.html?from=$1 [NC]你这样写9292 的值就丢了,你确认码 其实我就是想去掉后面的参数 from=hahhss 其它的没所谓 如果是这样呢?要求将 类似于 http://wwww.adna.com/asdasd/9889/?from=9292 跳转到 http://wwww.adna.com/asdasd/9889/ 是同一个 但是 google收录了一些 不带 index.html的页面 还有 RewriteEngine onRewriteBase /# hotelRewriteRule ^index_(.*)$ index.html?from=$1 [NC] 这个好像起不到效果 这就是你的问题了1、web 服务器中并没有应用了处理 html 所带参数,你要加上参数做什么?2、形如 http://wwww.adna.com/asdasd/9889/index.html?from=9292 这样的不被 google 收录,是因为他看上去像动态页面这用重写是改变不了的! 关键是这样的 http://wwww.adna.com/asdasd/9889/index.html?from=9292 已经被 Google收录了 我现在想改变的是 http://wwww.adna.com/asdasd/9889/index.html?from=9292 能到 301 到 http://wwww.adna.com/asdasd/9889/index.html 求phpchina的邀请码~~ 麻烦帮我看下这个网站用的什么网店程序,谢谢! 同一个页面,多个验证码问题 在线等,简单问题! thinkphp 使用PHPMailer发送邮件问题 php配置mssql问题 php数组 问题 新完成一个在线客服系统,大家看看有些什么意见或者建议... 请问帝国cms如何显示多级栏目 move_loaded_file()上传文件名乱码问题如何解决?高手指导一下 标题要长,长,长,问一个关于uchome和原网站整合的问题 关于php html2pdf 生成动态pdf问题
RewriteRule ^index_(.*)$ index.html?from=$1 [NC]你这样写9292 的值就丢了,你确认码
要求将 类似于 http://wwww.adna.com/asdasd/9889/?from=9292
跳转到 http://wwww.adna.com/asdasd/9889/
RewriteEngine onRewriteBase /# hotel
RewriteRule ^index_(.*)$ index.html?from=$1 [NC]
这个好像起不到效果
1、web 服务器中并没有应用了处理 html 所带参数,你要加上参数做什么?
2、形如 http://wwww.adna.com/asdasd/9889/index.html?from=9292
这样的不被 google 收录,是因为他看上去像动态页面
这用重写是改变不了的!
已经被 Google收录了 我现在想改变的是 http://wwww.adna.com/asdasd/9889/index.html?from=9292
能到 301 到 http://wwww.adna.com/asdasd/9889/index.html