Disable directory browsing of uploads folder

To disable directory browsing all you have to do is drop in a blank index.html file into the wp-content\uploads directory, each subsequent sub-directory also would need a blank index file, there are plugins that can automatically do this for you. ps. Get a better host, there is no reason they should disallow you having your … Read more

get_template_directory() still returning path to previous theme

The get_template_directory() and get_template_directory_uri() functions don’t actually echo anything at all. They will make no output at all unless you echo them. So your code that looks like this: <img class=”frontpageimg” src=”https://wordpress.stackexchange.com/questions/119910/<?php get_template_directory(); ?>/images/slogan-2.png”> Should actually cause this output: <img class=”frontpageimg” src=”https://wordpress.stackexchange.com/images/slogan-2.png”> Which may not be what you’re expecting. Examine the source of the page. … Read more

GoDaddy Number of Image Files Per Directory Exceeded

You can try to reduce number of images. WordPress creates lots of different image sizes (up to several of every image you uploaded), but actually you do not use all of them in most cases. Also during years you probably deleted/edited some posts/images, but some images are probably still on your disk, even not used … Read more

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