Error establishing a database connection After Copy localhost wordpress site (with site url directly to hosting server’s url before copy)

Read http://codex.wordpress.org/Moving_WordPress#When_Your_Domain_Name_or_URLs_Change You’ve only moved the PHP files. That is only part of the process. Migrating the databse would mean: Create a database, if there isn’t one already Move the database from your local server to the remote one. Edit/alter key values in the database The same wp-config editing trick used here will get you … Read more

418 header status, I’m a teapot [closed]

You were right Toscho, it is a plugin called ‘better WP-Security’ I did a search for ‘418’ as suggested in the files I had backed up via ftp and found this: $bwpsmemlimit = (int) ini_get( ‘memory_limit’ ) //if they’re locked out or banned die if ( ( $bwpsoptions[‘id_enabled’] == 1 ||$bwpsoptions[‘ll_enabled’] == 1 ) && … Read more

Arabic Characters in URL returns 404 Error

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

W3 Total Cache doesn’t detect memcached [closed]

At the time of this writing, W3TC only recognizes the php5-memcache (vs. php5-memcached) PHP client for memcached memory object caching system/software. Hence the “Memcache extension: Installed” in W3TC compatibility test for memcached. Memcached being useful and efficient as a caching method for database and/or object user/data caching via W3TC, even on a single server setup, … Read more

Testing local server with MAMP/wordpress on mobile device? [closed]

I use xip.io for this. What is xip.io? xip.io is a magic domain name that provides wildcard DNS for any IP address. Say your LAN IP address is 10.0.0.1. Using xip.io, 10.0.0.1.xip.io resolves to 10.0.0.1 www.10.0.0.1.xip.io resolves to 10.0.0.1 mysite.10.0.0.1.xip.io resolves to 10.0.0.1 foo.bar.10.0.0.1.xip.io resolves to 10.0.0.1 Use a static IP address for DHCP: In … Read more