• Hello,

    I’ve scoured the forums and tried different combinations of every solution out there for the past two days, and still no luck.
    Whenever I try to publish/preview a new post/page, I get a 404 error.
    It’s not writing the page to my server.
    What’s weird is that on the HOMEPAGE, the NAVIGATION LINK to the new page i attempted to post will show up, yet clicking on it reveals same old 404 error. (Using 3.0, should I downgrade?)

    Notes of interest (where the problem may lie):
    The domain is iownpandora.com, with WP installed in the root directory.

    Permalink canonicalization is set to /%category%/%postname%/

    .htaccess looks like this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    Options FollowSymLinks
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{HTTP_HOST} ^yourdomain\.co\.uk$ [NC]
    RewriteRule (.*) http://www.yourdomain.co.uk/$1 [R=301,L]
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter atlantaboxwoods

    (@atlantaboxwoods)

    *Note above – where it says yourdomain, i have my own domain, just to clear that up

    It’s not writing the page to my server.

    How do you know? Have you checked your database?

    Have you tried resetting your custom permalinks back to the default setting and deleting/renaming your WordPress .htaccess file?

    Thread Starter atlantaboxwoods

    (@atlantaboxwoods)

    @esmi – I reset permalinks and deleted the .htaccess file, multiple times in multiple orders and nothing works.

    When it was FRESH OUT OF THE BOX, the first test page I made worked. Once I changed the permalinks, nothing has worked since. Even deleting/reinstalling wordpress on the server and optimizing/repairing the databases using /maint/repair.php

    I don’t know a lot about HTACCESS but ran into this on another site, whenever I made a custom HTACCESS file and uploaded it to the server things worked great.

    But then say if I changed the permalink structure through WordPress options everything would break. Took awhile to figure out what was going on until i stumbled across this on another site.

    “05. WordPress is overwriting my .htaccess file?

    Yes. WordPress will overwrite your custom htaccess file if you upload one to your server and then change anything in the permalink options within WordPress, or load a plugin that utilizes these features.
    This will cause your htaccess file to be overwritten and you will lose any changes you have made.”

    The solution sounded like make any HTACCESS / permalink / plugin changes within WordPress first and then add your own rules to the HTACCESS file after that has been done.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘404 error when making new pages/posts’ is closed to new replies.