1
I’m having a problem when I’m customizing ERROR 404. I put the following code in the . htaccess file:
ErrorDocument 404 /erro404.html
And I created a custom page error404.html. The page is onpage, there is no link to other pages.
When I type e.g. meusite/contact falls into erro404.html, so far so good. But when I type for example. meusite/contact/ (bar) it does not pull the css (gets all unknowable). What can be?
Try to put in your HTML inside the head the following tag: <base href="/" target="_Blank">
– Filipe Moraes
Still continues Felipe :(
– mdesigner
"...But when I put it by e.g. meusite/contact/ (bar) it doesn’t pull the css (gets all messed up)..." But what happens? Show page 404 but no css?
– Filipe Moraes
That. If I put / at the end of qq word, it opens the page without css :/
– mdesigner
So you put the tag I sent up on the erro404.html page?
– Filipe Moraes
I had put in index rs Now I put in erro404 page, appeared the image I had put, but the texts still remains disfigured.
– mdesigner
erro404.html page you have the link to CSS, you can copy and paste here?
– Filipe Moraes
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">

<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
 
 <link rel="stylesheet" type="text/css" href="css/style.css">

 <link rel="stylesheet" type="text/css" href="css/responsive.css">
– mdesigner
Try as follows: <link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon"> <link rel="stylesheet" type="text/css" href="/css/bootstrap.css"> <link rel="stylesheet" type="text/css" href="/css/style.css"> <link rel="stylesheet" type="text/css" href="/css/Responsive.css.css">
– Filipe Moraes
Wonder @Filipemoraes !! Now It’s Worked/ Thank You =D
– mdesigner
Wonderful! I will post as an answer.
– Filipe Moraes