190,472 questions
781
votes
22
answers
908k
views
Create a folder if it doesn't already exist
I've run into a few cases with WordPress installs with Bluehost where I've encountered errors with my WordPress theme because the uploads folder wp-content/uploads was not present.
Apparently the ...
657
votes
31
answers
480k
views
Can I install/update WordPress plugins without providing FTP access?
I am using WordPress on my live server which only uses SFTP using an SSH key.
I want to install and upgrade plugins, but it appears that you are required to enter your FTP login to install the ...
399
votes
15
answers
973k
views
Correct file permissions for WordPress [closed]
I've had a look over here but didn't find any details on the best file permissions. I also took a look at some of WordPress's form's questions over here too but anybody that suggests 777 obviously ...
368
votes
25
answers
804k
views
#1273 – Unknown collation: ‘utf8mb4_unicode_520_ci’
I have a WordPress website on my local WAMP server. But when I upload its database to live server, I get error
#1273 – Unknown collation: ‘utf8mb4_unicode_520_ci’
365
votes
19
answers
437k
views
upstream sent too big header while reading response header from upstream
I am getting these kind of errors:
2014/05/24 11:49:06 [error] 8376#0: *54031 upstream sent too big header while reading response header from upstream, client: 107.21.193.210, server: aamjanata.com, ...
318
votes
24
answers
684k
views
PHP Warning: POST Content-Length of 8978294 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
I am getting this error when trying to upload an import on WordPress on my XAMPP local dev environment:
Warning: POST Content-Length of 8978294 bytes exceeds the limit of 8388608 bytes in Unknown on ...
313
votes
19
answers
400k
views
How can I add a PHP page to WordPress?
I want to create a custom page for my WordPress blog that will execute my PHP code in it, whilst remaining a part of the overall site CSS/theme/design.
The PHP code will make use of third-party APIs (...
280
votes
22
answers
501k
views
phpMyAdmin - Error > Incorrect format parameter?
I have a WordPress production website.
I've exported the database by the following commands: select database > export > custom > select all tables > select .zip compression > 'Go'
I'...
264
votes
7
answers
385k
views
Table is marked as crashed and should be repaired
I am getting this error in WordPress' phpMyAdmin:
#145 - Table './DB_NAME/wp_posts' is marked as crashed and should be repaired
When I login to phpMyAdmin, it says wp_posts is "in use"
My ...
261
votes
19
answers
640k
views
Wordpress how to use jquery and $ sign
I have a simple jQuery script in a WordPress plugin that is using a jQuery wrapper like this:
$(document).ready(function(){
// jQuery code is in here
});
I am calling this script from within ...
255
votes
51
answers
858k
views
What's the net::ERR_HTTP2_PROTOCOL_ERROR about?
I'm currently working on a website, which triggers a net::ERR_HTTP2_PROTOCOL_ERROR 200 error on Google Chrome. I'm not sure exactly what can provoke this error, I just noticed it pops out only when ...
221
votes
29
answers
409k
views
Nginx serves .php files as downloads, instead of executing them
I am installing a website in a droplet (Digital Ocean). I have an issue for install NGINX with PHP properly. I did a tutorial https://www.digitalocean.com/community/tutorials/how-to-install-linux-...
217
votes
20
answers
1.3m
views
Access denied for user 'root@localhost' (using password:NO)
I'm trying to run WordPress in my Windows desktop and it needs MySQL.
I install everything with Web Platform Installer which is provided by Microsoft. I never set a root password for MySQL and in the ...
204
votes
19
answers
230k
views
WordPress asking for my FTP credentials to install plugins
I installed a WordPress blog in my local system. But when I try to add plugins from admin it asks for FTP access. What do I need to configure for WordPress to be able to upload without FTP?
200
votes
5
answers
115k
views
Proper URL forming with a query string and an anchor hashtag
When both a query string and anchor tag (hash tag) are visible in a URL, what is the proper order for them to appear?
http://www.whatever.com?var=val#anchor
or
http://www.whatever.com#anchor?var=val
...