WordPress.org

Ready to get started?Download WordPress

Forums

Can't create Pages (3 posts)

  1. s_ha_dum
    Member
    Posted 7 years ago #

    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 "http://hells-handmaiden.com/feed/" 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.

  2. freshpromo
    Member
    Posted 6 years ago #

    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.

  3. freshpromo
    Member
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.