• Hi All,

    I’m using WordPress 2.3.1 and made a big mistake. Since I wanted to add a custom link to the pages menu I figured out that by adding a blank page and then creating a redirection from cPanel will give me the same effect. Well, in theory it should work but after trying it my whole blog gives me a 500 internal error message, even the administration.

    I tried deleting the redirection but it looks like the installation doesn’t takes the change.

    Here is my .htaccess file contents:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^.*\.gif|\.jpg|\.png|\.css|\.php$ - [L]
    
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    
    </IfModule>
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>
    
    # END WordPress

    I really need this blog working or my customer is going to kill me!!

    Any help will be appreciated. Thank you ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter cmariomej

    (@cmariomej)

    Nobody…?

    Can you just delete the .htaccess file and write a new one? Can you access the site after deleting?

    Or can you ftp to your install and delete the blank page and edit whatever file you changed around for this redirection?

    Just tossing some ideas because nobody else has yet – I don’t make any claims of being a wp expert:)

    Yes, delete or rename (to disable) the .htaccess and then redo your permalinks. Add a link to your pages menu by editing the relevant theme file (header.php, sidebar.php, whatever…).

    Thread Starter cmariomej

    (@cmariomej)

    Saurus and Iridiax, many thanx for that. I don’t know why I didn’t thought about this simple solution before; it works now!!! The link was not an issue from the beggining, I edited the files and hard coded it.

    Thank you again ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘HTACCESS mistake’ is closed to new replies.