Favicon for all the pages in my website

前端 未结 4 1844
轻奢々
轻奢々 2021-02-18 21:32

I\'ve learned that the way to add favicon for a web page is to have the following lines in the page.



        
4条回答
  •  情歌与酒
    2021-02-18 22:04

    You can get rid of the unnecessary processing and traffic as well as the error log entries by using the following Apache configuration incantations:

    # Don't bother looking for favicon.ico
    Redirect 404 /favicon.ico
    
    # Send custom text instead of sending the custom error page
    
        ErrorDocument 404 "No favicon"
    
    

提交回复
热议问题