资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

phpMyWind本地伪静态设置方法

第一步:登陆phpmywind管理后台,点击”网站信息配置”-”URL静态化”,将是否启用伪静态设置为”是”,然后点保存配置。

成都创新互联专注于歙县网站建设服务及定制,我们拥有丰富的企业做网站经验。 热诚为您提供歙县营销型网站建设,歙县网站制作、歙县网页设计、歙县网站官网定制、微信小程序开发服务,打造歙县网络公司原创品牌,更为您提供歙县网站排名全网营销落地服务。

第二步:

Apache Web Server(虚拟主机用户)

复制规则粘贴到记事本,保存为.htaccess文件,存放在在根目录即可

#将RewriteEngine模式打开 RewriteEngineOn #修改以下语句中的/改为您的系统目录地址,如果程序放在根目录中则无需修改 RewriteBase/dm #Rewrite系统规则请勿修改 RewriteCond%{QUERY_STRING}^(.*)$ RewriteRule^index.html$index.php RewriteCond%{QUERY_STRING}^(.*)$ RewriteRule^about-([0-9]+)-([0-9]+).html$about.php?cid=$1&page=$2 RewriteCond%{QUERY_STRING}^(.*)$ RewriteRule^news-([0-9]+)-([0-9]+).html$news.php?cid=$1&page=$2 RewriteCond%{QUERY_STRING}^(.*)$ RewriteRule^newsshow-([0-9]+)-([0-9]+)-([0-9]+).html$newsshow.php?cid=$1&id=$2&page=$3 RewriteCond%{QUERY_STRING}^(.*)$ RewriteRule^product-([0-9]+)-([0-9]+).html$product.php?cid=$1&page=$2 RewriteCond%{QUERY_STRING}^(.*)$ RewriteRule^productshow-([0-9]+)-([0-9]+)-([0-9]+).html$productshow.php?cid=$1&id=$2&page=$3 RewriteCond%{QUERY_STRING}^(.*)$ RewriteRule^case-([0-9]+)-([0-9]+).html$case.php?cid=$1&page=$2 RewriteCond%{QUERY_STRING}^(.*)$ RewriteRule^caseshow-([0-9]+)-([0-9]+)-([0-9]+).html$caseshow.php?cid=$1&id=$2&page=$3 RewriteCond%{QUERY_STRING}^(.*)$ RewriteRule^join-([0-9]+).html$join.php?page=$1 RewriteCond%{QUERY_STRING}^(.*)$ RewriteRule^joinshow-([0-9]+).html$joinshow.php?id=$1 RewriteCond%{QUERY_STRING}^(.*)$ RewriteRule^message-([0-9]+).html$message.php?page=$1 RewriteCond%{QUERY_STRING}^(.*)$ RewriteRule^contact-([0-9]+)-([0-9]+).html$contact.php?cid=$1&page=$2 RewriteCond%{QUERY_STRING}^(.*)$ RewriteRule^soft-([0-9]+)-([0-9]+).html$soft.php?cid=$1&page=$2 RewriteCond%{QUERY_STRING}^(.*)$ RewriteRule^softshow-([0-9]+)-([0-9]+)-([0-9]+).html$softshow.php?cid=$1&id=$2&page=$3 RewriteCond%{QUERY_STRING}^(.*)$ RewriteRule^goods-([0-9]+)-([0-9]+)-([0-9]+).html$goods.php?cid=$1&tid=$2&page=$3 RewriteCond%{QUERY_STRING}^(.*)$ RewriteRule^goodsshow-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$goodsshow.php?cid=$1&tid=$2&id=$3&page=$4 RewriteCond%{QUERY_STRING}^(.*)$ RewriteRule^vote-([0-9]+).html$vote.php?id=$1 RewriteCond%{QUERY_STRING}^(.*)$ RewriteRule^(w+).html$$1.php?


网站题目:phpMyWind本地伪静态设置方法
标题链接:http://cdkjz.cn/article/cjhiso.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

大客户专线   成都:13518219792   座机:028-86922220