maemolee
V2EX  ›  问与答

[求教] 虚拟主机装的 Typecho 博客,怎么自定义 404 页面啊?

  •  
  •   maemolee · May 23, 2018 · 1822 views
    This topic created in 3110 days ago, the information mentioned may be changed or developed.

    我在 zhujike.com 买的虚拟主机,现在的 404 页面是主机壳的默认 404,例如404,想要自定义但是没有在网上搜到比较贴合我这个情况的教程,想问问各位大佬有没有知道应该怎么做的?

    感谢!

    7 replies  •  2018-05-25 16:03:58 +08:00
    SupperMary
    SupperMary
    May 23, 2018 via Android
    1
    从 web 服务器里面可以定义,比如 nginx
    msg7086
    msg7086
    May 23, 2018
    2
    这不是很简单嘛,找客服啊。
    maemolee
    maemolee
    OP
    May 23, 2018
    3
    @SupperMary 虚拟主机,接触不到 nginx😂
    @msg7086 对吼
    x86
    x86
    May 23, 2018
    4
    他们用的是 apache,你改.htaccess 看看
    maemolee
    maemolee
    OP
    May 24, 2018
    5
    @x86 htaccess 不会写😂
    hinomo
    hinomo
    May 24, 2018
    6
    maemolee
    maemolee
    OP
    May 25, 2018
    7
    @longyujin9 感谢!虽然不懂 php 为什么可以直接写 html,不过我试试看。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   968 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 19:40 · PVG 03:40 · LAX 11:40 · JFK 14:40
    ♥ Do have faith in what you're doing.