wordpress 404 - una vez a 404 y una vez a la página de inicio
Frecuentes
Visto 70 veces
0
I have a problem with the 404 in my site. I didn't build the site, just fixing some issues there.
I'm using the default permalink structure, and have a 404.php in my theme folder. My .htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
The problem is:
when I change the URL to /?page_id="page number that doesn't exist"
- I get the 404 page,
but when I just write some letters (e.g. /sjkhdk
) I get the home page (I want them both to get to the 404 page).
¿Alguna idea?
Gracias, Tal
1 Respuestas
0
Whenever I have issues with permalinks, this process generalmente lo ordena.
- Make sure .htaccess is writable by the webserver.
- Ve a
Settings>Permalinks
and simply hit Save Changes. This will reset the wordpress permalinks internally.
Hazme saber si esto funciona.
Respondido 28 ago 12, 15:08
Did you try this out @user1629677? - shanem
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas wordpress http-status-code-404 or haz tu propia pregunta.
is the WP up to date? What version is it - janw