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

财务公司管理系统/惠州seo排名

财务公司管理系统,惠州seo排名,免费动漫,网站类别选择.htaccess 重定向.htaccess is a powerful tool. Let’s look at how to using .htaccess to redirect WordPress feeds to feedburner..htaccess是一个功能强大的工具。 让我们看看如何使用.htaccess 将 WordPress提要重定向到feedburner。 Let’s use my blog as the exampl…

.htaccess 重定向

.htaccess is a powerful tool. Let’s look at how to using .htaccess to redirect WordPress feeds to feedburner.

.htaccess是一个功能强大的工具。 让我们看看如何使用.htaccess 将 WordPress提要重定向到feedburner。

Let’s use my blog as the example. The WordPress’s feed url of my blog is https://www.systutorials.com/feed/. Now I want to redirect it to feedburner with url http://feeds.systutorials.com/systutorials .

让我们以我的博客为例。 我的博客的WordPress提要URL为https://www.systutorials.com/feed/ 。 现在,我想使用url http://feeds.systutorials.com/systutorials将其重定向到feedburner。

The idea is quite straightforward: For every request to https://www.systutorials.com/feed/, first check whether the HTTP_USER_AGENT is FeedBurner or FeedValidator. If HTTP_USER_AGENT is one of these two feed burners, do nothing and so feeds from WordPress will be returned to the feed burner. Otherwise, redirect the request to http://feeds.systutorials.com/systutorials since it is from a normal user’s browser or feed reader. Through this method, the normal user can read the feeds from feedburner, while feedburner can get the original feeds from WordPress. We can also enjoy the other advantages of feedburner, such as tracking and statistical services.

这个想法非常简单:对于对https://www.systutorials.com/feed/的每个请求, 请首先检查HTTP_USER_AGENT是FeedBurner还是FeedValidator。 如果HTTP_USER_AGENT是这两个提要燃烧器之一,则什么也不做,因此来自WordPress的提要将返回到提要燃烧器。 否则,将请求重定向到http://feeds.systutorials.com/systutorials,因为它来自普通用户的浏览器或feed 阅读器 。 通过这种方法,普通用户可以从feedburner读取提要,而feedburner可以从WordPress获取原始提要。 我们还可以享受Feedburner的其他优势,例如跟踪和统计服务。

The method
Add these codes to the beginning of the .htaccess file in the root directory of the site:

方法
将这些代码添加到网站的根目录中的.htaccess文件的开头:

# Redirect WordPress feeds to feedburner
<IfModule mod_rewrite.c>RewriteEngine onRewriteCond %{REQUEST_URI}      ^/?(feed.*|comments.*)        [NC]RewriteCond %{HTTP_USER_AGENT} !^.*(FeedBurner)             [NC]RewriteRule ^feed/?.*$          http://feeds.systutorials.com/systutorials        [L,NC,R=302]
</IfModule>

Here the comments feed and posts feed are written together for convenience. Only the feedburner url need to be changed for other WordPress sites.

为了方便起见,这里将评论提要和帖子提要一起编写。 对于其他WordPress网站,仅需要更改feedburner网址。

翻译自: https://www.systutorials.com/how-to-redirect-wordpress-feed-to-feedburner-using-htaccess/

.htaccess 重定向

http://www.lbrq.cn/news/1338787.html

相关文章:

  • 什么网站可以做拍a发布会/色盲和色弱的区别
  • 网站建设 网址导航/全网关键词云查询
  • 海口网站建设公司/做做网站
  • 专门做进口产品的网站6/百度引擎搜索
  • 做衬衣的网站/企业网站seo多少钱
  • 景安网站上传完还要怎么做/长沙企业关键词优化哪家好
  • 兰州网站建设公司/视频网站搭建
  • 网站建设时间安排/seo搜索引擎优化工资多少钱
  • 属于o2o的电商平台有哪些/排名优化方法
  • css怎么做网站菜单/网站seo啥意思
  • 网站公司怎么做运营/漳州seo建站
  • 门户网站建设要点/网站推广的方式有哪些?
  • 中企动力大连分公司/百度seo优化多少钱
  • javaee做网站/企业培训考试系统
  • 网站制作 广州/北京百度seo
  • 合肥外贸网站建设公司价格/小白如何学电商运营
  • 苏州网站建设logo/seo实战培训
  • 大厂网站建设/搜狐新闻手机网
  • 装修网站设计平台/上海seo优化bwyseo
  • 移动网站开发培训/合肥seo按天收费
  • 滨州哪里有做网站的/永久免费域名申请
  • 医疗类网站哪家做的好/常用的网络营销策略有哪些
  • 哪个网站做美食自媒体更好/微信营销成功案例8个
  • 微信网站改版价格/灰色关键词排名技术
  • 企业网站建设申请域名/汽车行业网站建设
  • 如何做网站的搜索栏/seo的英文全称是什么
  • 视频直播软件有哪些/seo教程视频论坛
  • 蔬菜派送网站怎么做/百度网盘下载的文件在哪
  • 天津网站建设制作排名/重庆seo排名公司
  • 天津建设教育培训网/免费seo搜索优化
  • SAE J2716多协议网关的硬件架构与实时协议转换机制解析
  • TradingAgents-CN: 基于多智能体的中文金融交易决策框架
  • AI大模型 教师方向应用探索
  • ThreadLocal的原理是什么,使用场景有哪些?
  • 数据结构-deque(双端队列)和queue(队列)区别
  • 浏览器CEFSharp88+X86+win7 之js交互开启(五)