网站更换的问题 现在公司重新做了一个网站,以前的新闻部整合到了新网站里面,但以前的旧新闻链接要保留,并且点击旧新闻的时候要指向新的网站,这个要怎么做,需要配置.htaccess吗? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 这个具体怎么设置呢?比如:旧网站:http://www.zh123.com/salaryandcareertips/2034/detail/ 新网站:http://news.zh123.com/news-2034/ 2032是id的话salaryandcareertips\/(0-9+)\/detail\/ news-$1/ RewriteRule salaryandcareertips\/(0-9+)\/detail\/ news-$1/ [L,R=301] 我在我们网站里面发现了.htaccess文件,里面有一些RewriteRule ^heighlights/([0-9]+)/([a-zA-Z0-9_]+)/$ /modules/heighlights/heighlight-details.php?id=$1&pagetype=$2 [QSA,L]#RewriteRule ^employer/([0-9]+)/([a-zA-Z0-9_]+)-detail/$ /modules/employers/employer-details.php?id=$1&pagetype=$2 [QSA,L]这2句是什么意思? 简单点就是: /modules/heighlights/heighlight-details.php?id=1&pagetype=2 这样的链接重写为:heighlights/1/2 /modules/employers/employer-details.php?id=1&pagetype=2重写为:employer/1/2 求一段代码的正则 php图片管理 紧急求救!!!!!!!!!!谁有php 3des加解密算法 [散分!] [原创] PHP 文件代码着色类 高手指教 提供了10G的FTP空间,欢迎大家上传好的资源一起分享。 希望每个人都能进来看一下~! 如何创建文件? 凌风前辈,多谢相助~请来收分~ 有个这样的问题,关于验证码显示不了,我这边 php.ini文件中extention=php.gd2.dll这文件都打开了,但是还是显示不了,有人回答一下不 如何将数据库里面内容以不同的颜色显示在页面上? php引入文件之策略,有难度,请给个规范
这个具体怎么设置呢?比如:旧网站:http://www.zh123.com/salaryandcareertips/2034/detail/ 新网站:http://news.zh123.com/news-2034/
salaryandcareertips\/(0-9+)\/detail\/ news-$1/
我在我们网站里面发现了.htaccess文件,里面有一些
RewriteRule ^heighlights/([0-9]+)/([a-zA-Z0-9_]+)/$ /modules/heighlights/heighlight-details.php?id=$1&pagetype=$2 [QSA,L]#RewriteRule ^employer/([0-9]+)/([a-zA-Z0-9_]+)-detail/$ /modules/employers/employer-details.php?id=$1&pagetype=$2 [QSA,L]这2句是什么意思?
重写为:heighlights/1/2
/modules/employers/employer-details.php?id=1&pagetype=2
重写为:employer/1/2