• Hi, due to an issue when trying to restore my website from a backup it seems I am forced to have to recreate my whole website again. When setting the permalinks to “post” the reright of the .htacess file works however all links give a 404 error. I am running on linux debian and yes the mod reright module is on. Its been a while since setting up my original website, is there another modules I need to activate? Also if you think you can help me restore my old website I would appreciate it so much. Thanks for any and all help in advance.

    post on restore problems

Viewing 10 replies - 1 through 10 (of 10 total)
  • the reright of the .htacess file works however all links give a 404 error

    Check that mod_rewrite is running on the server.

    Thread Starter JamieS1211

    (@jamies1211)

    It is, when I do

    a2enmod rewrite

    I get this

    Module rewrite already enabled

    Also my .htacess looks like this

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    What is in your .htaccess file? I assume the default permaliks work OK, yes?

    Thread Starter JamieS1211

    (@jamies1211)

    yes defult permalinks work fine, also edited above answer with actual info

    Not sure how much further I can help here. It does sound like your server is not parsing the .htaccess file correctly.

    Thread Starter JamieS1211

    (@jamies1211)

    Indeed. Is there any other packages or modules that this function depends on?

    Not that I am aware of but, in the interests of transparency, I am not the greatest of server-wrangling gurus. From running my own local servers, I’d say that a pretty much bog standard Apache install with mod_rewrite should be all that you need.

    Thread Starter JamieS1211

    (@jamies1211)

    Do you reckon there could be a problem with my server install then as I wan’t able to reinstate my old website due to unclear reasons despite doing the same method as I have used before and been advised to use. http://wordpress.org/support/topic/database-recovery-error?replies=1

    Thread Starter JamieS1211

    (@jamies1211)

    Not sure if it is worth mentioning but the 404 error is not a wordpress 404 error instead it is the default Apache 404 error. Does this change stuff? Is it not fully / properly installed?

    Thread Starter JamieS1211

    (@jamies1211)

    Thanks for all your help. Somehow my apache didn’t have allow override to all hence it wasn’t reading the htacess files. Thanks again for your efforts I do appreciate it and I know others you help also do.

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

The topic ‘Permalinks changing but still 404’ is closed to new replies.