php - a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request -


i moved wordpress site 1 hosted server different one, @ different company. after migration getting error "a 500 internal server error error encountered while trying use errordocument handle request". have read posts error on stackoverflow , other sites, , they're saying try 3 things:

  1. open permissions on root folder - tried - no difference
  2. tweak .htaccess file - tried it, no idea i'm doing
  3. disable plugins - no idea how

here's path looks in cpanel:

enter image description here

and here full path: /home/usaarbit/public_html/do********on/primaryresidentialus (i obscured client's name).

here .htaccess file:

# begin wordpress <ifmodule mod_rewrite.c> rewriteengine on rewritebase /~primaryresidentialus/ rewriterule ^index\.php$ - [l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule . /~primaryresidentialus/index.php [l] </ifmodule>  # end wordpress 

i have tried changing rewrite rule paths 1 mentioned , several other variations, no avail. maybe file has nothing it, don't know.

no error_log being created anymore. earlier today getting error_log file because missing files. has been fixed -- files there now. no error_log file being created anymore, ugly error.

i don't know wordpress suspect there 1 simple tweak someplace fix this. should disabling add-on? if so, how do that? ideas?

what happen if remove ~ signs .htaccess file? new .htaccess file should follows:

# begin wordpress <ifmodule mod_rewrite.c> rewriteengine on rewritebase /primaryresidentialus/ rewriterule ^index\.php$ - [l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule . /primaryresidentialus/index.php [l] </ifmodule> 

let know. doubt rewritebase path. have copied htaccess old server? if yes, need make sure path wordpress installation in new 1 , adjust path accordingly. if above suggestion not work, try following see if works or not.

# 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> 

you might https://codex.wordpress.org/giving_wordpress_its_own_directory


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -