我应该管理多少条重写规则?

发布于 2024-08-28 04:42:34 字数 127 浏览 8 评论 0原文

我正在与一个托管团队打交道,该团队在管理许多重写规则方面相当笨拙。您对站点当前管理的规则数量有何体验?

随着网站的发展和收缩,我可以看到数十个(如果不是更多)出现,并且需要设定期望,这不会超出正常范围。

谢谢

I'm dealing with a hosting team that is fairly skiddish of managing many rewrite rules. What are your experiences with the number of rules your sites are currently managing?

I can see dozens (if not more) coming up as the site grows and contracts and need to set expectations that this isn't out of the norm.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

烟凡古楼 2024-09-04 04:42:34

您的网站有很多重写规则,这应该是正常的。随着网站变得越来越大,您需要重写的页面数量也会增加,并且根据页面的用途,每个页面可能会进行多次重写。这完全取决于您网站的安全程度。更高的安全性意味着更多的预防措施。

模块使您能够在用户不知情的情况下透明地将一个 URL 重定向到另一个 URL。这开启了各种可能性,从简单地将旧网址重定向到新地址,到清理来自不良发布系统的“脏”网址 - 为您提供对读者和搜索引擎都更友好的网址。

引用

所以几乎由您自行决定。您希望它有多安全。

it should be normal that you have a lot of rewrite rules to your site. As the site gets bigger the amount of pages you need to rewrite grows, and depending on what the pages do, you could have multiple rewrites per page. This is all based on how secure you are making your site. More security means more precautions.

module gives you the ability to transparently redirect one URL to another, without the user’s knowledge. This opens up all sorts of possibilities, from simply redirecting old URLs to new addresses, to cleaning up the ‘dirty’ URLs coming from a poor publishing system — giving you URLs that are friendlier to both readers and search engines.

QUOTE

so pretty much it's at your discretion. How secure do you want it to be.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文