• Hey folks!

    I’m hoping someone can help me with this. It seems kinda of strange but maybe someone else has had this problem.

    I am getting a 500 Error when I click on a link (in an image or page menu bar) to the same page or post that I am already viewing. Basically, when I am viewing a page and I want to refresh or view the page again, I get an error.

    My hosting corp said that they think something is wrong with my .htaccess file but they were no more help than that.

    I have WordPress installed in /home.com/wordpress/ but I have it redirected to show up at /home.com/. The code in my .htaccess file is:

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

    # END WordPress

    Any suggestions will be greatly appreciated!!! Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Your .htaccess file looks fine to me. Your hosting company should be able to check the server logs, or maybe you have access to them. You want to look at the error logs, not the access logs. They will give some decent information about why the page returned a 500 error.

    [signature moderated Please read the Forum Rules]

    k3ith08

    (@k3ith08)

    Hi krazyb you said you installed your wordpress to the directory home.com/wordpress/ so the code on your .htacess should not be the same below as you stated:

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

    # END WordPress

    You should try to change it to:

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

    # END WordPress

    Did you notice the changes? Hope this help and let me know if it did, because I tried it with mine when I got the same error 500 as you had.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘500 Error When Click on Link to Page Already Viewing’ is closed to new replies.