WordPress mod_rewrite not working on php fpm
It was a nginx config problem Solved it by adding this line to .conf file try_files $uri $uri/ /index.php?q=$uri&$args;
It was a nginx config problem Solved it by adding this line to .conf file try_files $uri $uri/ /index.php?q=$uri&$args;
Just for sharing my experience to others: I have main site with domian.com and want to subdirectory domain.com/blog reverse proxy to blog.domain.com which is a wordpress with nginx! so this is how things work for me: HTTP version: 1- in domian.com nginx config set /blog like this: listen 80; server_name domain.com www.domain.com; location / { … Read more
In general a 500 Server Error can be solved (or at least be correctly identified) by looking at php logs. If you are on a shared hosting you should have something in your hosting’s control panel to check the logs (look for Error messages), if you are self-hosting on your own vps you can usually … Read more
Okay, here’s what I did. If this happens, hopefully this will work favourably for you. If this is disabled by default, enable wp-debug by changing the value from false to true. Check that you have enabled WP_DEBUG_LOG and WP_LOG_DISPLAY. Try refreshing the page and see what happens. Either using WinSCP or the terminal, go to … Read more
You should have not searched the field and replaced all the references to wp_ with anything. For example : the value of the entry with meta_key wp_page_for_privacy_policy will be change to wp_addtionnal_prefix page_for_privacy_policy. Hence there could be a lot of misfitted values in your table. A better way would have been to : export the … Read more
So the issue has already been resolved via the comments and the current state of the question already includes the corrected code. But I thought I should post this answer as a reminder for you, me and everyone reading this. 🙂 So first off, here’s a helpful excerpt from an article on WP Engine: The … Read more
Is Dedicate, VPS or shared server effect in SEO? No, it doesn’t matter. What do you think how many website I can host in a single IP or I need to use different IP for different website? As much as you want, quantity doesn’t matter. Many hosting providers keep thousands of sites on one server.
This error is most often related to the server configuration! Contact your hosting company and ask the hosting support to check the following points: The server is running a recent version of PHP and the cURL library. Increase PHP Memory Limit settings. Ask your web host if there is some limitation with wp-cron, or if … Read more
You have probably figured it out by now, but just in case. I was also asked to pull data from an MS SQL server and present the data on a WordPress site. In my plugin, I stored the connection values (encrypted) as options. Here are the basics. Connection Function: public function rimsdb() { global $rimsdb; … Read more
A server has to serve lots of requests at the same time, and to prevent a PHP request running out of control it gives them 2 limits. Time, and memory. If it takes 2 hours to generate a page request, something has gone wrong. If your request requires endless amounts of memory, something else has … Read more