Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

144
Vistas
Wordpress shows 404 page when saving new post or editing post

Problem is ... when I click on edit post/edit page, it tries to open http://localhost/site/wp-admin/post-108.php?post=286&action=edit and ends up on 404 page. It also shows the 404 page when saving a new post/page.

I don't remember exactly what I did but it must have started after my IDE refactored the code when I was renaming a template file.

There is no post-108.php inside wp-admin folder or inside my theme folder, but there's post.php. I don't know why it is trying to open post-108.php which does not exist.

NOTE: It is a custom theme I am building myself using wordpress 4.7.4

Thank you all.

about 4 years ago · Santiago Trujillo
3 Respuestas
Responde la pregunta

0

Go through the below steps, may resolve your issue.

  1. First of all make sure that there is a file named as ‘post.php’ in ‘wp-admin’ folder.

  2. Then disable all Plugins and try again. If it works, enable each Plugin one by one to discover what is causing this issue.

  3. If the above one doesn’t help you, go to your ‘Admin > Settings > Permalinks’. Don’t change anything on that Permalinks page, but just click the button ‘Save Changes’ exists at the bottom. Now try to publish a post.

  4. If you still experience the issue, choose the option ‘Default’ in Permalinks page then save changes. After that you can set it again to the previous permalink option or keep it as Default as you wish. Then try to publish a post.

  5. If the problem exits however, check the “WordPress address (URL)” and “Blog address (URL)” have set correctly in ‘Settings > General’ (no slash at the end of the URLs).

  6. After that remove the link ‘http://rpc.pingomatic.com/‘ from the field ‘Update Services’ exists at ‘Settings > Writing’ and try again to publish a post.

  7. If problem appears yet with all above changes, copy the code given below and paste in the .htaccess file. Code to be Added


    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

about 4 years ago · Santiago Trujillo Denunciar

0

I could not fix the problem by the methods mentioned here.

What worked for me was simply disabling ModSecurity in cPanel.

about 4 years ago · Santiago Trujillo Denunciar

0

disabling ModSecurity in cPanel worked for me after i tried everything.

about 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda