wp-admin/index.php gives a “500 Internal Server Error [closed]
wp-admin/index.php gives a “500 Internal Server Error [closed]
wp-admin/index.php gives a “500 Internal Server Error [closed]
You probably have a problem-causing plugin. Look at the error.log file which will tell you the file that is causing the problem. Rename that plugin’s folder (use your hosting control panel’s File Manager) and retry. That should get you into the admin area. Then you can contact the plugin’s support forum to figure out the … Read more
I’ve run into the same problem. It worked on Saturday. This Monday it auto-upgraded to 7.0.10, now it breaks. I don’t have a fix, so here’s more information that MAY help debugging? I’m on CentOS7 with cPanel’s EA brand of PHP. PHP 7.0.10 (cgi-fcgi) (built: Aug 22 2016 20:34:53) Copyright (c) 1997-2016 The PHP Group … Read more
Change the Site URL in Options Table. UPDATE `wp_options` SET `option_value` = ‘YOUR_SITE_URL’ WHERE `option_name` = ‘siteurl’ OR `option_name` = ‘home’; Also change the static URLs in your post content. UPDATE `wp_posts` SET `post_content` = REPLACE(post_content, ‘192.168.0.18/YOUR_LOCAL_SITE_URL/’, ‘YOUR_SITE_URL/’); Don’t forget to change the table prefix if its not ‘wp_’. Edit : Access PHPMyAdmin of your … Read more
you need to change the owner of the wordpress folder to www-data. For example, if you put your wordpress folder in /var/www/my_new_wordpress_site, you will need to run the following command: sudo chown -R www-data:www-data /var/www/my_new_wordpress_site
Here is the list of minimum Apache modules which is required to run WordPress websites. mod_alias mod_authz_host mod_deflate mod_dir mod_expires mod_headers mod_mime mod_rewrite mod_log_config mod_autoindex mod_negotiation mod_setenvif
All files and folders should be owned by www-data user and group if not then WordPress can’t change files hence fails to update from dashboard. wp-cli says to use sudo -u www-data -i — wp <command> but that gives This account is currently not available. Why? See this answer: https://askubuntu.com/a/486661/695240 You’re getting the This account … Read more
Well, after lots of digging (before and after posting this question), I think I figured it out. As @s_ha_dum suggests, the reason behind the odd directory placement is likely a personal preference of the person who created the Ubuntu “wordpress” package. Perhaps it makes for easier partitioning of permissions, or it makes updates more safe … Read more
A plugin changes my .htaccess file and I can’t access httpd.conf as that’s a shared server
The most efficient way to accomplish this would be to change the structure to /%postname%/ and add a 301 redirect to your .htaccess file for the old structure: RedirectMatch 301 ^/([0-9]{4})/([0-9]{2})/(?!page/)(.+)$ http://example.com/$3 Change example.com to your domain and add the redirect above the # BEGIN WordPress directive so it won’t be removed if WordPress updates … Read more