Can I restart MySQL engine when WordPress website is live?
Yes, service mysql restart (or systemctl restart mysql on more recent versions of Linux) will carry out a graceful shutdown and restart of mysql.
Yes, service mysql restart (or systemctl restart mysql on more recent versions of Linux) will carry out a graceful shutdown and restart of mysql.
This is fairly easy to set up using virtual host configurations in Apache or Nginx (depending on which webserver you want to run on your box). Here’s the gist of things: 1. Each installation will have a separate database and separate database user (for security). I set these up manually in MySQL through the command … Read more
It depends on what you need. The software environment is the same you need for every other PHP site where you want to get an efficient workflow: up-to-date PHP (currently 5.5, so you can use Opcache) with at least 128 MB memory limit the same for MySQL web server with a rewrite engine regular backups … Read more
I’d guess this is because your new website isn’t getting any traffic. By default WordPress doesn’t have any background processes to run scheduled jobs on, and instead runs them when it next gets a web request after the scheduled start time. Hence it needs a constant stream of web traffic to run scheduled jobs on … Read more
I checked your site with webpagetest.org : http://www.webpagetest.org/result/130803_C5_3FE9/1/details/ You are loading a lot of information from a lot of different places– Facebook, Google, Twitter, Pinterest, doublclick… You are loading something like 80 resources from remote locations (To be honest, I lost count but that is in the ballpark). That is more than half– 55-60%– of … Read more
Not much information to go on… Start with elimination – disable the plugins, switch to default (or better – blank) theme. If it gets better – just find code at fault. If you are down to the bare and clean WP core and still having the issue – likely you have some server configuration issue. … Read more
Add this in your .htaccess file at website root folder. If you deleted it then create it again and paste this. DirectoryIndex index.html index.php # 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> # END WordPress EDIT Looks like you … Read more
In my experience… I would keep using Multisite for your setup for organizational purposes and ease of management. Here’s a list of things you could try before emptying out the pockets: Consider caching options. (Personally, I like using W3TC), but there’s many options for this. Consider Jetpack CDN for images. (I’ve had reasonable success with … Read more
Have you tried something simple to ensure it is actually rewriting? Something like… RewriteEngine On RewriteRule ^.*$ verified.php Then create a verified.php page… <?php print ‘mod_rewrite works!’; ?> Now you should hit that page no matter where you try to go on the site. If you don’t mod_rewrite isn’t working. You can also turn on … Read more
I had same issue as you. I was trying to access the following URL, which results in a 404 error: The requested URL `/abb/public/main/category/كمال` was not found on this server. http://localhost/abb/public/main/category/كمال or http://localhost/abb/public/main/category/%D9%83%D9%85%D8%A7%D9%84 while accessing http://localhost/abb/public/main/category/فتنس http://localhost/abb/public/main/category/%D9%81%D8%AA%D9%86%D8%B3 or http://localhost/abb/public/main/category/ABCDEF works fine. I found the cause of issue in .htaccess file. It was: RewriteRule ^(.)$ abb/index.php?/$1 … Read more