Support » Fixing WordPress » Can’t create Pages

  • I come to you having spent twenty hours or more reading the codex, searching to forums, tweaking things…

    I can’t seem to be able to create a Page– I always get a 404 error. Permalinks (standard date/title) work. Even “” works, which I find a bit odd but by now I am hopelessly lost. Mod_rewrite is enabled. “.htaccess” is writable and looks like it should as far as I can tell:

    # BEGIN WordPress

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

    # END WordPress

    Still, every new page I’ve tried has resulted in a 404 error.

    I noticed on one thread the suggestion that “functions-post.php” and “classes.php” be replaced, but I don’t have those files at all and neither does the WordPress .zip I just opened.

    I don’t even know what questions to ask at this point.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve had the same problem and haven’t found a solution. I’ve searched these forums and found several other posters complaining of the same issue but no thread has actually been resolved. Is there anyone around here that knows why this 404 errors happens? I’m starting to question why I ever started using WP.

    Ok, I just solved my problem. It was within the .htaccess file.

    I copied off an htaccess file that *was* working. It was working because for every new page I had created in the WP admin, I had to add the following lines in the .htaccess file:

    RewriteRule ^(contact)/trackback/?$ /index.php?pagename=$1&tb=1 [QSA,L]
    RewriteRule ^(contact)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
    RewriteRule ^(contact)/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
    RewriteRule ^(contact)/page/?([0-9]{1,})/?$ /index.php?pagename=$1&paged=$2 [QSA,L]
    RewriteRule ^(contact)(/[0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]

    contact = the Page slug of the page you want to create.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t create Pages’ is closed to new replies.