dir.by  
Поиск >>

Компьютер, программы
→
Website creation and management (site registration, copying files to the site, database saving)
 ISPmanager - если страница сайта не найдена покзываем html страницу 
посмотрели 182 раз
обновлено: 3 November 2026
На сайте нет страницы https://dir.by/aaa
При загрузке видим сообщение об ошибке
Решение! Показываем html страницу в случае ошибки
В таком случае пользователь может легко нажать на ссылку и перейти на главную страницу сайта если какая-то страница сайта была удалена.
Как сделать?
Открываем ISPmanager
Нажимаем на Sites → Error Pages
 
Нажимаем на Cretae page
 
Указываем страницу в случае ошибки:
На сайте создал 404.shtml страницу
  Файл 404.shtml
<HEAD>
<meta http-equiv='Content-Type' content='text/html;charset=utf-8' >
</HEAD>

<center>
<div style='padding-left:0px; padding-top:10px; line-height:24px; font-size: 20px; font-family:Times New Roman;'>
     Страница
     <font style='background-color:#DAF0DA'>
          <b>dir.by</b>
     </font>
     не найдена!
     <div style='padding-top:20px;'>
          Перейти на
          <a href=http://dir.by>
               <b><font color='blue'>dir.by</font></b>
          </a>
     </div>
</div>
</center>
 
← Previous topic
cPanel - change the password to FTP and cPanel (the same password is used)
 
 
Your feedback ... Comments ...
   
Your Name
Your comment (www links can only be added by a logged-in user)

Новость "Черная пятница" Dreame в Беларуси – две недели скидок до 3400 рублей
 
• Website registration (choose a name, buy a domain)
• Placement of the site on a computer (hosting)
• Adding, configuring mail for your site (on hoster.by hosting)
• Copying files via FTP (Far, Windows Explorer)
cPanel - Hosting Control Panel
• What is cPanel?
• cPanel - Creating a Database
• cPanel - saving a copy of the site (files)
• cPanel - if the site page is not found, provide the html page
• cPanel - creating a subdomain
• cPanel - Let"s Encrypt certificate setup (UNIX hosting)
• cPanel - change the password to FTP and cPanel (the same password is used)
ISPmanager - панель управления хостингом
• ISPmanager - если страница сайта не найдена покзываем html страницу

  Ваши вопросы присылайте по почте: info@dir.by