We’re rewarding the question askers & reputations are being recalculated! Read more.

Hot answers tagged

4

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] ...


3

This really isn't a Wordpress issue. That said, the key error is "open_basedir restriction in effect." If you're running your own VPS, you need to learn to configure it. open_basedir restrictions keep scripts in one directory from being able to affect scripts in another directory, which is an important security feature. If one accounts gets hacked, ...


2

Backups: Sounds like you need two types. 1. Versioning (eg use Git or SVN) and 2. Failsafe backup - some good plugins for this, or use a cron job to backup the WP files and database Sounds like there's two needs here as well. 1. An environment to easily scale WP and 2. A host that you can easily scale with. Personally I use WordPress in multisite mode with ...


2

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


2

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 mod_rewrite ...


1

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/...


1

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 this.) ...


1

Are you running Jetpack? If so, try updating it. See this: https://wordpress.org/support/topic/jetpack-sync-killing-the-db/


1

It sounds like you may be running a plugin that stores too many transient options. If you can't currently access wp-admin, try FTP'ing in and renaming your /plugins folder to disable all plugins. Then you should be able to log in to wp-admin. Next, back in FTP rename your /plugins folder back to the normal /plugins, and leave all of the plugins deactivated ...


1

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 SSH Git You can get that everywhere for 5 €/month. In ...


1

Your files should be owned by your account. Period. They should not be owned by the "apache" user. This is insecure. The files may need to be readable by the apache user. The recommended permissions are 755 for folders and 644 for files. With the exception of the wp-config.php file, which should be set to the lowest permissions that work. This would be 640, ...


1

First and most important question - did your host meant that you server is actively sending spam or is being used to relay spam? If former then you need to trace that down and cleanup (which takes someone competent looking at it, if you are not confident to do it yourself). After that my first suggestion would be to install caching plugin (W3 Total Cache is ...


1

This is really a server question and not particularly Wordpress. You're running into a MySQL server speed bottleneck at 1and1. Sorry, but they're well known as a slow shared host, and for that reason I doubt their VPSs are any better. Caching and a CDN will only do so much for you. You need more horsepowwer in the form of a better and faster MySQL server, ...


1

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 line, but if you have phpMyAdmin set up, ...


1

If I use Apache & ngnix together will I have fewer problems? Yes, of course. Please be sure to install and setup mod_rpaf in Apache, if you are going to setup Nginx as reverse proxy to Apache. I was wondering if I used Apache and Nginx together, with nginx serving static files, apache php would I get both performance and compatibility? ...


Only top voted, non community-wiki answers of a minimum length are eligible