当前位置: 首页 > news >正文

做一家仓储用地的网站用内网穿透做网站可以被收录吗

做一家仓储用地的网站,用内网穿透做网站可以被收录吗,济宁网站建设哪家便宜,wordpress导航模板下载地址原文链接#xff1a;http://faq.comsenz.com/viewnews-12 URL 静态化是一个利于搜索引擎的设置#xff0c;通过 URL 静态化#xff0c;达到原来是动态的 PHP 页面转换为静态化的 HTML 页面#xff0c;当然#xff0c;这里的静态化是一种假静态#xff0c;目的只是提高搜…原文链接http://faq.comsenz.com/viewnews-12 URL 静态化是一个利于搜索引擎的设置通过 URL 静态化达到原来是动态的 PHP 页面转换为静态化的 HTML 页面当然这里的静态化是一种假静态目的只是提高搜索引擎的搜索量Comsenz 旗下的产品 Discuz!、SupeSite/X-Space、ECShop、SupeV、UCHome 等都支持此功能。当然这个功能还需要服务器环境的支持下面介绍一下如何在 Apache 服务器下配置 URL 静态化的 Rewrite 规则。 当然这里分两种情况一种是独立主机用户这部分用户拥有对主机的管理权限因此配置起来比较方便一些。注这里就以 Discuz!6.1.0 的 Rewrite 规则为例稍后在后面会列举出其他产品的 Rewrite 规则。 首先确定您使用的 Apache 版本及是否加载了 mod_Rewrite 模块。 Apache 1.x 的用户请检查 conf/httpd.conf 中是否存在如下两段代码 LoadModule Rewrite_module libexec/mod_Rewrite.so AddModule mod_Rewrite.c Apache 2.x 的用户请检查 conf/httpd.conf 中是否存在如下一段代码 LoadModule Rewrite_module modules/mod_Rewrite.so 如果存在那么在配置文件通常就是 conf/httpd.conf中加入如下代码。此时请务必注意如果网站使用通过虚拟主机来定义请务必加到虚拟主机配置即 VirtualHost 中去如果加在虚拟主机配置外部将可能无法使用改好后将 Apache 重启。 IfModule mod_Rewrite.c RewriteEngine On RewriteRule ^(.*)/archiver/((fid|tid)-[\w\-]\.html)$ $1/archiver/index.php?$2 RewriteRule ^(.*)/forum-([0-9])-([0-9])\.html$ $1/forumdisplay.php?fid$2page$3 RewriteRule ^(.*)/thread-([0-9])-([0-9])-([0-9])\.html$ $1/viewthread.php?tid$2extrapage\%3D$4page$3 RewriteRule ^(.*)/space-(username|uid)-(.)\.html$ $1/space.php?$2$3 RewriteRule ^(.*)/tag-(.)\.html$ $1/tag.php?name$2 /IfModule 如果没有安装 mod_Rewrite您可以重新编译 Apache并在原有 configure 的内容中加入 --enable-Rewriteshared然后再在 Apache 配置文件中加入上述代码即可。 另外一种用户是 Apache 虚拟主机用户。 在开始以下设置之前请首先咨询您的空间服务商空间是否支持 Rewrite 以及是否支持对站点目录中 .htaccess 的文件解析否则即便按照下面的方法设置好了也无法使用。 检查论坛所在目录中是否存在 .htaccess 文件如果不存在请手工建立此文件。Win32 系统下无法直接建立 .htaccess 文件您可以从其他系统中拷贝一份或者在 Discuz.net 技术支持栏目中下载此文件。编辑并修改 .htaccess 文件添加以下内容 # 将 RewriteEngine 模式打开 RewriteEngine On # 修改以下语句中的 /discuz 为你的论坛目录地址如果程序放在根目录中请将 /discuz 修改为 / RewriteBase /discuz # Rewrite 系统规则请勿修改 RewriteRule ^archiver/((fid|tid)-[\w\-]\.html)$ archiver/index.php?$1 RewriteRule ^forum-([0-9])-([0-9])\.html$ forumdisplay.php?fid$1page$2 RewriteRule ^thread-([0-9])-([0-9])-([0-9])\.html$ viewthread.php?tid$1extrapage\%3D$3page$2 RewriteRule ^space-(username|uid)-(.)\.html$ space.php?$1$2 RewriteRule ^tag-(.)\.html$ tag.php?name$1 添加内容时请遵照上面的提示修改论坛所在的路径然后保存。将 .htaccess 文件上传到论坛所在的目录中。然后进入论坛系统设置的搜索引擎优化根据需要开启 URL 静态化功能。 下面简单介绍一些其他产品的 Rewrite 规则。 SupeSite/X-Space6.0 UC规则 Apache 独立主机用户 IfModule mod_Rewrite.c RewriteEngine On ###Rewrite 系统规则请勿修改 RewriteRule ^/([0-9])/spacelist(.)$ /index.php?uid/$1/action/spacelist/type$2 [L] RewriteRule ^/([0-9])/viewspace(.)$ /index.php?uid/$1/action/viewspace/itemid$2 [L] RewriteRule ^/([0-9])/viewbbs(.)$ /index.php?uid/$1/action/viewbbs/tid$2 [L] RewriteRule ^/([0-9])/(.*)$ /index.php?uid/$1/$2 [L] RewriteRule ^/([0-9])$ /index.php?uid/$1 [L] RewriteRule ^/action(.)$ /index.php?action$1 [L] RewriteRule ^/category(.)$ /index.php?action/category/catid$1 [L] RewriteRule ^/viewnews(.)$ /index.php?action/viewnews/itemid$1 [L] RewriteRule ^/viewthread(.)$ /index.php?action/viewthread/tid$1 [L] RewriteRule ^/mygroup(.)$ /index.php?action/mygroup/gid$1 [L] /IfModule Apache 虚拟主机用户 ### 将 RewriteEngine 模式打开 RewriteEngine On ### 修改以下语句中的 /SupeSite 修改为你的SupeSite目录地址如果程序放在根目录中请将 /SupeSite 修改为 / RewriteBase / ### Rewrite 系统规则请勿修改 RewriteRule ^([0-9])/spacelist(.)$ index.php?uid/$1/action/spacelist/type$2 [L] RewriteRule ^([0-9])/viewspace(.)$ index.php?uid/$1/action/viewspace/itemid$2 [L] RewriteRule ^([0-9])/viewbbs(.)$ index.php?uid/$1/action/viewbbs/tid$2 [L] RewriteRule ^([0-9])/(.*)$ index.php?uid/$1/$2 [L] RewriteRule ^([0-9])$ index.php?uid/$1 [L] RewriteRule ^action(.)$ index.php?action$1 [L] RewriteRule ^category(.)$ index.php?action/category/catid$1 [L] RewriteRule ^viewnews(.)$ index.php?action/viewnews/itemid$1 [L] RewriteRule ^viewthread(.)$ index.php?action/viewthread/tid$1 [L] RewriteRule ^mygroup(.)$ index.php?action/mygroup/gid$1 [L] ECShop2.6.0 规则 Apache 独立主机用户 IfModule mod_Rewrite.c RewriteEngine On RewriteRule ^(.*)/index.html$ $1/index.php RewriteRule ^(.*)/category$ $1/index.php [L] RewriteRule ^(.*)/feed-c([0-9]).xml$ $1/feed.php?cat$2 [L] RewriteRule ^(.*)/feed-b([0-9]).xml$ $1/feed.php?brand$2 [L] RewriteRule ^(.*)/feed.xml$ $1/feed.php RewriteRule ^(.*)/category-([0-9])-b([0-9])-min([0-9])-max([0-9])-attr([^-]*)-([0-9])-(.)-([a-zA-Z])(.*)\.html$ $1/category.php?id$2brand$3price_min$4price_max$5filter_attr$6page$7sort$8order$9 RewriteRule ^(.*)/category-([0-9])-b([0-9])-min([0-9])-max([0-9])-attr([^-]*)\.html$ $1/category.php?id$2brand$3price_min$4price_max$5filter_attr$6 RewriteRule ^(.*)/category-([0-9])-b([0-9])-([0-9])-(.)-([a-zA-Z])(.*)\.html$ $1/category.php?id$2brand$3page$4sort$5order$6 RewriteRule ^(.*)/category-([0-9])-b([0-9])-([0-9])(.*)\.html$ $1/category.php?id$2brand$3page$4 RewriteRule ^(.*)/category-([0-9])-b([0-9])(.*)\.html$ $1/category.php?id$2brand$3 RewriteRule ^(.*)/category-([0-9])(.*)\.html$ $1/category.php?id$2 RewriteRule ^(.*)/goods-([0-9])(.*)\.html$ $1/goods.php?id$2 RewriteRule ^(.*)/article_cat-([0-9])-([0-9])-(.)-([a-zA-Z])(.*)\.html$ $1/article_cat.php?id$2page$3sort$4order$5 RewriteRule ^(.*)/article_cat-([0-9])-([0-9])(.*)\.html$ $1/article_cat.php?id$2page$3 RewriteRule ^(.*)/article_cat-([0-9])(.*)\.html$ $1/article_cat.php?id$2 RewriteRule ^(.*)/article-([0-9])(.*)\.html$ $1/article.php?id$2 RewriteRule ^(.*)/brand-([0-9])-c([0-9])-([0-9])-(.)-([a-zA-Z])\.html $1/brand.php?id$2cat$3page$4sort$5order$6 RewriteRule ^(.*)/brand-([0-9])-c([0-9])-([0-9])(.*)\.html $1/brand.php?id$2cat$3page$4 RewriteRule ^(.*)/brand-([0-9])-c([0-9])(.*)\.html $1/brand.php?id$2cat$3 RewriteRule ^(.*)/brand-([0-9])(.*)\.html $1/brand.php?id$2 RewriteRule ^(.*)/tag-(.*)\.html $1/search.php?keywords$2 RewriteRule ^(.*)/snatch-([0-9])\.html$ $1/snatch.php?id$2 RewriteRule ^(.*)/group_buy-([0-9])\.html$ $1/group_buy.php?actviewid$2 /IfModule Apache 虚拟主机用户 RewriteEngine On #RewriteBase / # direct one-word access RewriteRule ^index\.html$ index\.php [L] RewriteRule ^category$ index\.php [L] # access any object by its numeric identifier RewriteRule ^feed-c([0-9])\.xml$ feed\.php\?cat$1 [L] RewriteRule ^feed-b([0-9])\.xml$ feed\.php\?brand$1 [L] RewriteRule ^feed\.xml$ feed\.php [L] RewriteRule ^category-([0-9])-b([0-9])-min([0-9])-max([0-9])-attr([^-]*)-([0-9])-(.)-([a-zA-Z])(.*)\.html$ category\.php\?id$1brand$2price_min$3price_max$4filter_attr$5page$6sort$7order$8 [QSA,L] RewriteRule ^category-([0-9])-b([0-9])-min([0-9])-max([0-9])-attr([^-]*)(.*)\.html$ category\.php\?id$1brand$2price_min$3price_max$4filter_attr$5 [QSA,L] RewriteRule ^category-([0-9])-b([0-9])-([0-9])-(.)-([a-zA-Z])(.*)\.html$ category\.php\?id$1brand$2page$3sort$4order$5 [QSA,L] RewriteRule ^category-([0-9])-b([0-9])-([0-9])(.*)\.html$ category\.php\?id$1brand$2page$3 [QSA,L] RewriteRule ^category-([0-9])-b([0-9])(.*)\.html$ category\.php\?id$1brand$2 [QSA,L] RewriteRule ^category-([0-9])(.*)\.html$ category\.php\?id$1 [QSA,L] RewriteRule ^goods-([0-9])(.*)\.html$ goods\.php\?id$1 [QSA,L] RewriteRule ^article_cat-([0-9])-([0-9])-(.)-([a-zA-Z])(.*)\.html$ article_cat\.php\?id$1page$2sort$3order$4 [QSA,L] RewriteRule ^article_cat-([0-9])-([0-9])(.*)\.html$ article_cat\.php\?id$1page$2 [QSA,L] RewriteRule ^article_cat-([0-9])(.*)\.html$ article_cat\.php\?id$1 [QSA,L] RewriteRule ^article-([0-9])(.*)\.html$ article\.php\?id$1 [QSA,L] RewriteRule ^brand-([0-9])-c([0-9])-([0-9])-(.)-([a-zA-Z])\.html brand\.php\?id$1cat$2page$3sort$4order$5 [QSA,L] RewriteRule ^brand-([0-9])-c([0-9])-([0-9])(.*)\.html brand\.php\?id$1cat$2page$3 [QSA,L] RewriteRule ^brand-([0-9])-c([0-9])(.*)\.html brand\.php\?id$1cat$2 [QSA,L] RewriteRule ^brand-([0-9])(.*)\.html brand\.php\?id$1 [QSA,L] RewriteRule ^tag-(.*)\.html search\.php\?keywords$1 [QSA,L] RewriteRule ^snatch-([0-9])\.html$ snatch\.php\?id$1 [QSA,L] RewriteRule ^group_buy-([0-9])\.html$ group_buy\.php\?actviewid$1 [QSA,L] RewriteRule ^auction-([0-9])\.html$ auction\.php\?actviewid$1 [QSA,L] SupeV1.0beta 规则 Apache 独立主机用户 IfModule mod_Rewrite.c RewriteEngine On RewriteRule ^(.*)/ivideo(-tv-([0-9]))?(-ti-([0-9]))?(-tc-([0-9]))?(-page-([0-9]))?\.html$ $1/ivideo.php?tv$3ti$5tc$7page$9 RewriteRule ^(.*)/ispecial(-tv-([0-9]))?(-ti-([0-9]))?(-tc-([0-9]))?(-page-([0-9]))?\.html$ $1/ispecial.php?tv$3ti$5tc$7page$9 RewriteRule ^(.*)/icategory\.html$ $1/icategory.php RewriteRule ^(.*)/category-cid-([0-9])(-tag-([^-]*))?(-timelimit-([0-9]))?(-orderlimit-([0-9]))?(-page-([0-9]))?\.html$ $1/category.php?cid$2tag$4timelimit$6orderlimit$8page$10 RewriteRule ^(.*)/vspace-(mid|username)-(.)\.html$ $1/vspace.php?$2$3 RewriteRule ^(.*)/video-(vid|ivid)-(.)\.html$ $1/video.php?$2$3 RewriteRule ^(.*)/special-spid-([0-9])\.html$ $1/special.php?spid$2 /IfModule Apache 虚拟主机用户 # 将 RewriteEngine 模式打开 RewriteEngine On # 修改以下语句中的 /SupeV 为你的播客目录地址如果程序放在根目录中请将 /SupeV 修改为 / RewriteBase /SupeV # Rewrite 系统规则请勿修改 RewriteRule RewriteRule ^ivideo(-tv-([0-9]))?(-ti-([0-9]))?(-tc-([0-9]))?(-page-([0-9]))?\.html$ ivideo.php?tv$2ti$4tc$6page$8 RewriteRule ^ispecial(-tv-([0-9]))?(-ti-([0-9]))?(-tc-([0-9]))?(-page-([0-9]))?\.html$ ispecial.php?tv$2ti$4tc$6page$8 RewriteRule ^icategory\.html$ icategory.php RewriteRule ^category-cid-([0-9])(-tag-([^-]*))?(-timelimit-([0-9]))?(-orderlimit-([0-9]))?(-page-([0-9]))?\.html$ category.php?cid$1tag$3timelimit$5orderlimit$7page$9 RewriteRule ^vspace-(mid|username)-(.)\.html$ vspace.php?$1$2 RewriteRule ^video-(vid|ivid)-(.)\.html$ video.php?$1$2 RewriteRule ^special-spid-([0-9])\.html$ special.php?spid$1 UCHome1.0 规则 Apache 独立主机用户 RewriteEngine On RewriteRule ^/(space|network)\-(.)\.html$ /$1.php?Rewrite$2 [L] RewriteRule ^/(space|network)\.html$ /$1.php [L] RewriteRule ^/([0-9])$ /space.php?uid$1 [L] Apache 虚拟主机用户 RewriteEngine On RewriteBase / RewriteRule ^(space|network)\-(.)\.html$ $1.php?Rewrite$2 [L] RewriteRule ^(space|network)\.html$ $1.php [L] RewriteRule ^([0-9])$ space.php?uid$1 [L] 当然在我们每个发布的程序包中都有关于此版本程序对应的 Rewrite 规则大家可以在那里找到相对应的 Rewrite 规则。
http://www.zqtcl.cn/news/408921/

相关文章:

  • 服装配件网站建设 中企动力静态网站 后台
  • 做网站较好的框架网站建设的定位是什么
  • 如何保护自己的网站桂林医院网站建设
  • 产品品牌策划方案佛山网站优化美姿姿seo
  • 北京城建一建设发展有限公司网站大连在哪个省的什么位置
  • 北京知名网站建设公司排名学校诗歌网站建设
  • 个人做网站接装修活哪个网站好上海造价信息网官网
  • 网页上做网会员网站备案怎么写oa报表网站开发
  • 郑州服装网站建设网站的层级
  • 东莞建设网站制作怎么建立信息网站平台
  • 网站建设的公司服务手机上做ppt的软件
  • 体育网站模版爱站网
  • 建设部网站最新消息浏览器网站大全免费
  • 网站建设 选中企动力邯郸哪有做网站的公司
  • 个人网站cms系统网站排名下降了怎么办
  • 2o18江苏建设网站施工员模试卷哈尔滨app开发
  • 网站后台管理系统论文湖州交通网站集约化建设项目
  • 唐山地区网站开发公司郑州市哪里有网站建设
  • ps做汽车网站下载网络推广专员招聘
  • 荥阳网站开发WordPress 采集文章 图片
  • 网站域名登记证明文件音乐网站开发需要什么语言工具
  • 贵州域网网站建设东莞做外贸网站的公司
  • ps怎么做华为网站界面怎样做网站步骤
  • 免费做试卷的网站或试卷seo 培训教程
  • 创意网站建设价格多少最新新闻热点事件2022年8月
  • wordpress用户登录界面插件重庆网站排名优化公司
  • 网站整体建设方案设计wordpress 插件升级慢
  • 淄博网站制作升级优化青岛品牌网站建设价格
  • 网站后台管理系统模块星星wordpress模板
  • 网站统计 中文域名优化英语