Server Error while updating permalink

Discussion in 'WordPress' started by radiant_luv, Sep 30, 2010.

  1. #1
    Not sure if anyone has faced this issue and has solution to this.

    I am installing wordpress on GoDaddy Shared Hosting Server. All goes well untill I change the permalink structure.

    And below is the error message i get, to access admin or the url.

    Server Error
    500 - Internal server error.
    There is a problem with the resource you are looking for, and it cannot be displayed.


    Thanks in advance.
     
    radiant_luv, Sep 30, 2010 IP
  2. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    #2
    1)first backup ur .htaccess
    2)check ur .htaccess for syntax error
    use this
    
    http://shop.alterlinks.com/htaccess-validator/htaccess-validator.php
    
    Code (markup):
    3)upgrade php
    4)ask ur host
    5)don't use godaddy
    If not resolved PM me
     
    bhuthecoder, Sep 30, 2010 IP
  3. extremephp

    extremephp Peon

    Messages:
    1,290
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Deactivate Cache Plugins, Or Any other plugins which Could take Up PHP Memory For the instance and Update your Permalinks.

    But, Its Always Better to Have a Reliable host with Flexible PHP memory to use on.

    ~ExP~
     
    extremephp, Sep 30, 2010 IP
  4. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #4
    Thanks
    I tried the validator, but I must admit i don't understand this. here is a code
    
    <files wp-config.php>
    order allow,deny
    deny from all
    </files>
    
    Options +FollowSymLinks
    RewriteEngine On
    RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
    RewriteRule ^(.*)$ index.php [F,L]
    
    
    Code (markup):
    upgrade PHP - How?
    Godaddy is host.
     
    radiant_luv, Sep 30, 2010 IP
  5. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #5
    There is no cache plugin installed. It has no other active plugin. Though main domain has few plugins.
     
    radiant_luv, Sep 30, 2010 IP
  6. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    #6
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    
    Code (markup):
    replace ur .htaccess code with above code
     
    bhuthecoder, Oct 1, 2010 IP
  7. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #7
    1. I replaced the with the above code. However, still the same result when I changes the Permalink Structure.
    2. How do I restore it back how it was before the change in permalink. I have been uninstalled and installed wordpress couple of times allready.

    Thanks
     
    radiant_luv, Oct 1, 2010 IP
  8. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    #8
    PM me server and wp login details . i will check it
     
    bhuthecoder, Oct 1, 2010 IP
  9. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #9
    I have an update.

    I have been doing every crazy things possible on earth -

    Deactivated plugins
    Switch back to default themes
    Renaming .htaccess files
    Updated WP version

    BUT nothing resolves the issue :( However I see a file web.config where i have installed WP (in a folder in the root) and when i break or rename it, error message doesn't appear and I get the option to login. But when I try to login it redirects to the same login page. :(

    Here is the code from web.config file
    
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
      <system.webServer>
        <rewrite>
          <rules>
                    <rule name="wordpress" patternSyntax="Wildcard">
                        <match url="*"/>
                            <conditions>
                                <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
                                <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
                            </conditions>
                        <action type="Rewrite" url="index.php"/>
                    </rule></rules>
        </rewrite>
      </system.webServer>
    </configuration>
    
    Code (markup):
    What do i do so that i can login into admin? I have set a index.html file for time being and appears at url http://instantmoviesearch.com

    Thanks for your help
     
    radiant_luv, Oct 3, 2010 IP
  10. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #10
    There are so many fixes for this problem, it's hard to know which one to use.
    Going by this thread, you are not the only one suffering from it. If you read the entire thread, there are several fixes you can try.

    Here are a few others I've seen on other forums:

    Add this line in .htaccess:
    AddType x-mapp-php5 .php

    If you have a php.ini or php5.ini file, open it and turn off error logging (log_errors = off).
    Apparently, the 500 error appears even when the log file is missing or unwritable.

    Switch to another host! :D
     
    Cash Nebula, Oct 6, 2010 IP
  11. nicm0

    nicm0 Peon

    Messages:
    62
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    probably one of the two: htaccess and its previledges (chmod).
     
    nicm0, Oct 7, 2010 IP