Reject all malicious URL requests functions.php

All publicly visible sites on the internet get hit with ridiculous URL requests fairly often. These come from script kiddies (low-rent cybercriminals, the kind of children who think they’re l33t or something) trying to get your site to misbehave and give them access using (mostly) old tricks that exploit long-fixed bugs. Some of the tricks … Read more

Scripts external to WordPress cause 404 errors

My money would be on the .htaccess of your root directory is trying to route the /docuwiki request through WordPress, which is why it is failing. Your .htaccess file should look something like this: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>

Making a parent directory writable by the server

Here is how to change your folder permissions. Login to your ftp Make your wp-content folder 755 (In most FTP programs, this involves right-clicking -> “Permissions”). 755 is owner: read, write and execute permissions; group: read and execute permissions; others: read and execute permissions. Inside wp-content create a new folder called “uploads”, make it 755 … Read more

Editing Theme and Moving Servers

If you haven’t added a bunch of content and widgets on the local server, yes, it can be as easy as that. If you want to move everything – all your settings and content and such – you can follow these instructions: http://www.billerickson.net/how-to-move-your-wordpress-website/ G’luck!

How to change settings so I can upload images in WordPress posts?

Go to the admin panel and navigate to Settings>Media and see what it says in the Store uploads in this folder dialog box. You can try deleting whatever is in it and click save. WordPress will then try to use the default wp-content/uploads/images/2012… folders. If that doesn’t work I’d FTP to my server and check … Read more

WordPress switch servers

If you can access your sites database via phpMyAdmin, follow these steps to check that the links and images aren’t “hard-coded”: Navigate to your hosting account/phpMyAdmin Find the database and click on it to select it From the top toolbar click on Export In the export window select all tables by clicking the first one … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)