• Resolved eerabbit

    (@eerabbit)


    Out of the blue, a couple of things on my site lead to a 404. Public homepage works, but commenting leads to 404. On the admin side, plugins and themes goes to 404. I tried changing permalink structure to default and back, but that didn’t do anything. I haven’t changed anything recently so I don’t think it’s anything that I did?

Viewing 8 replies - 1 through 8 (of 8 total)
  • InterServer

    (@interservernet-web-hosting)

    The .htaccess file seems corrupted. Please provide the contents of .htaccess to identify the exact cause. So please rename your current .htaccess file and create a new one with the following contents.

    # 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

    You can refer the following URL for more information about WordPress .htaccess configuration.

    https://codex.wordpress.org/htaccess

    Thread Starter eerabbit

    (@eerabbit)

    My htaccess file looks exactly like what you posted.

    # 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

    I made a new file anyway and pasted in what you posted, but it still doesn’t work

    Thread Starter eerabbit

    (@eerabbit)

    bump, sorry

    I dug around on the forum some more and people said to disable all plugins, but the plugin page goes to 404 so I can’t do that.

    InterServer

    (@interservernet-web-hosting)

    You can disable plugin from your hosting account. Use the following steps to disable plugins.

    1: Login to WordPress installation directory through FTP or file manager.

    2: Rename the directory “plugins” to plugins.bak”. The “Plugins” directory lies inside “wp-contents” directory.

    This way you can disable plugins.

    It seems Apache and mod_rewrite issues.Does the server have mod_rewrite enabled?

    Thread Starter eerabbit

    (@eerabbit)

    Thanks, now commenting works. But other stuff in the admin panel, like Themes still doesn’t.

    Thread Starter eerabbit

    (@eerabbit)

    Okay, I went through disabling plugins one by one and I think akismet is the one with a problem. But even with just that folder disabled, and the rest of the plugins enabled, I still can’t access Themes or Plugins. Commenting does work though

    Thread Starter eerabbit

    (@eerabbit)

    bump again. Also posted a thread on akismet’s support page, but I’d appreciate any thoughts here as well

    edit: oops, presstiger, I didn’t see your comment. I’m not sure how to check this. Would it be in my cpanel or do I have to contact my hosting company?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘links lead to 404’ is closed to new replies.