知识库

为什么预览地址上的页面显示 403 Forbidden

预览地址仅运行您应用程序自身的文件,以确保所有人都能安全使用。您自己的域名不受影响。

Your site's free preview address (for example t-1a2b3c4d5e6f.zinnpreview.com) is for building and testing. To keep these addresses safe for every customer, a preview address only runs your application's own files. Anything else that would run code there is refused with 403 Forbidden.

What is refused on a preview address

  • WordPress and WooCommerce: PHP runs in wp-admin, wp-includes, wp-content (except
  • uploads) and in files directly in the site's main folder. A PHP file in uploads, or in a folder you added yourself, is refused.

  • Joomla, Drupal, PrestaShop, OpenCart, Grav and MediaWiki: only the application's own
  • entry points run, such as index.php and its admin folder.

  • Static sites and Node.js apps: no PHP runs at all.
  • Every site: a few folder and file names used only by phishing kits are refused.

Search engines are also told not to index preview addresses.

Your own domain is not affected

None of this applies when the site is reached on its own domain. If you need code to run from a folder of your own, connect your domain under Domains & DNS. It works there exactly as you wrote it.

Why we do this

Preview addresses share one domain. If anyone used one to host a fake login page, browsers could warn visitors away from every preview address, including yours. Limiting a preview to the application's own files stops that, without touching your real site.

Good to know

  • Pages, posts, products, images and styles are never refused. Only code outside the
  • application's own folders is.

  • If something your application genuinely needs is refused on the preview address, contact
  • support and tell us the address that showed 403.

博客最新动态

我们关于托管、SEO 和大规模网站运营的撰文。

来自托管层的 SEO 与外链建设:2026 年运营商视角

虚拟主机如何在 2026 年影响收录与链接资产传递(link equity):保持页面被有效索引、在建站前严格审查老域名、构建无痕迹(footprint)的外链,以及客观剖析底层基础设施在 SEO 方面的能力与局限。

阅读文章 →

让 WordPress 更快更安全:性能与插件核对清单

打造快速、安全的 WordPress 的实用核对清单:服务器级缓存、按站点设置的对象缓存、少数几个值得运行的插件、保持技术栈最新,以及绝不能进行缓存的 WooCommerce 页面。

阅读文章 →

如何在 2026 年选择托管型网站托管服务:购买者指南

究竟是什么将优质的托管服务与带控制面板的廉价主机区分开来——迁移、备份、隔离、真正的缓存以及诚实的扩展能力——以及如何在您做出决定之前对其进行评估。

阅读文章 →

阅读博客 →

仍需帮助?

每个套餐均包含技术支持,客服团队全天 24 小时在线,您可以用我们支持的任意 58 种语言与我们联系——我们将用您的语言为您解答。

联系支持团队 → 所有文章 →