maemolee
V2EX  ›  问与答

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

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