• So I’m trying to update my permalink structure. And for whatever reason, my domain is not taking my htaccess file with the rewrite rules WordPress has me put in it. When I do upload the htaccess file, I get a 500 error page.

    So I investigated further and this is apparently the error that’s coming back:

    <IfModule takes one argument, Container for directives based on existence of specified modules, referer: https://www.amplify-interactive.com/blog/wp-admin/options-permalink.php

    So I’m stuck. Unsure what to do. If anyone had any insight, it would be greatly appreciated. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    What is the content of the .htaccess file?

    Thread Starter amplifyinteractive

    (@amplifyinteractive)

    It is:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>
    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Well, there’s nothing wrong with that .htaccess file, other than it’s missing the begin and end wordpress lines.

    Make the file read-only so WordPress cannot modify it, and then update your permalink structure.

    Thread Starter amplifyinteractive

    (@amplifyinteractive)

    I did that… but whenever there’s an htaccess file up, I get a 500 error, be it a blank htaccess file or one with this specific code…

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Talk to your host. Their server is broken in some undefined way.

    Until they fix their problem, you cannot use anything other than the default permalinks.

    Thread Starter amplifyinteractive

    (@amplifyinteractive)

    Gotcha. Thanks Otto…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘.htaccess problem – error: <IfModule takes one argument, Container for direct…’ is closed to new replies.