diff --git a/htdocs/core/website.inc.php b/htdocs/core/website.inc.php
index 19ccc285abf..31d4d45723f 100644
--- a/htdocs/core/website.inc.php
+++ b/htdocs/core/website.inc.php
@@ -75,7 +75,7 @@ if ($pageid > 0)
{
$weblangs->load("website");
http_response_code(404);
- print '
'.$weblangs->trans("YouTryToAccessToAFileThatIsNotAWebsitePage").'';
+ print '
'.$weblangs->trans("YouTryToAccessToAFileThatIsNotAWebsitePage", $websitepage->pageurl, $websitepage->type_container, $websitepage->status).'';
exit;
}
}
diff --git a/htdocs/langs/en_US/website.lang b/htdocs/langs/en_US/website.lang
index 4f07b0ca9fb..2d14dfba00c 100644
--- a/htdocs/langs/en_US/website.lang
+++ b/htdocs/langs/en_US/website.lang
@@ -121,7 +121,7 @@ ShowSubContainersOnOff=Mode to execute 'dynamic content' is %s
GlobalCSSorJS=Global CSS/JS/Header file of web site
BackToHomePage=Back to home page...
TranslationLinks=Translation links
-YouTryToAccessToAFileThatIsNotAWebsitePage=You try to access to a page that is not a website page
+YouTryToAccessToAFileThatIsNotAWebsitePage=You try to access to a page (ref=%s, type=%s, status=%s) that is not available.
UseTextBetween5And70Chars=For good SEO practices, use a text between 5 and 70 characters
MainLanguage=Main language
OtherLanguages=Other languages