WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Permalink 404 Problem (5 posts)

  1. macunix
    Member
    Posted 5 years ago #

    Fresh Install
    v 2.8.4
    Import site from Export xml of v2.2.1 (1and1 Blog)
    Apache
    1and1 ISP

    I get a 404 error only on one post when using anything other than Permalink:Deflaut.

    Search and found some post. This is what I've tried.
    1. nuked .htaccess. Is does recreate file.
    2. changing permalink setting DOES update .htaccess
    3. renamed index.php.. bad idea, site went 403
    4. Entering values into Category base & Tag base had no effect.

    suggestions???
    TIA

  2. Shane G
    Member
    Posted 5 years ago #

    Hi,

    Set your desired permalink link for your blog and then add this code in htaccess:

    # BEGIN WordPress

    <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    After that have a check with old and new posts.

    Thanks,

    Shane G.

  3. macunix
    Member
    Posted 5 years ago #

    Since the 404 error wasn't effecting all posts, I decided to focus on the problem record. I noticed under 'quick edit' that the "Slug" didn't look correct. But by the time I figured that out I had re-created the post with a new record and deleted the problem post.

    Would be nice if export and import included media files with it.

    Thx!

  4. gwolf70
    Member
    Posted 5 years ago #

    I'm on 1and1 too, did the same but it doesn't work, I restarted the server and still having problems with permalink. Any clue?

    Thanks

  5. gwolf70
    Member
    Posted 5 years ago #

    Solved the problem work very good. The .htaccess code above allow you to fix the permalink issue on 1and1

    Thanks a lot

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags