WordPress hangs when I publish or update a post [closed]

Initially this sounds like a hosting problem and not a WordPress issue. Where are you hosted? Shared? Dedicated? php version? mysql version? Run through a typical wp hack protocol and check for base64 code in wp-config.php, any theme files and akismet plugin files… also any other php files. Database hacks are sometimes hard to find … 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

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

Apache/Linux configuration changes to make automatic upgrade more straightforward

The simplest answer is: As long as you’re on a fairly standard RedHat/CentOS/Fedora server, make sure that everything under your WordPress directory belongs to apache:apache. This will prevent the prompting for FTP credentials. The advantage to doing it this way is that, in almost ALL situations, Apache has /bin/false or /sbin/nologin set up as its … Read more

WordPress .htaccess subdirectory problem

Even though static files and directories do work with a mod_rewrite’d wordpress installation in the servers root you might need to exclude your CodeIgniter subdirectory from that mod_rewrite lineup. You can do so by placing an additional .htaccess file into the CodeIgniter directory and disable mod_rewrite in there: <IfModule mod_rewrite.c> RewriteEngine off </IfModule> Related: apache … Read more

Character encoding issue after changing servers

After spending the entire day working on this, I finally found a guide that worked perfectly: https://theblogpress.com/blog/seeing-weird-characters-on-blog-how-to-fix-wordpress-character-encoding-latin1-to-utf8/ Before that, I tried following @Rarst’s information, tried exporting the database and manually cleaning it, tried the UTF-8 Sanitize Plugin with a modified version from here http://www.prelovac.com/vladimir/ultimate-solution-to-weird-utf-character-encoding-problem (which actually worked pretty well, but didn’t fix all the characters. … Read more

WordPress local development environment [closed]

WordPress local development environment: Local development environments could apply to developing any type of application but there are some specific WordPress gotchas that could hinder your transition from local to dev. The goal of a local development environment is to mimic as close as possible the production environment and allow seamless transition. Matching URL If … Read more