Clean installation missing its /wp-content folder

I kept on searching, and finally found something that fixed this issue. For those who are using CentOs 7 in combination with Plesk 12: The issue is with SELinux. When it’s used in Enforcing mode (which is the default), wp-content does not show itself via FTP. Switching it to Permissive mode or disabling SELinux altogether … Read more

Theme file structure best practice

You first need to ask yourself: Will this theme ever be maintained or used by other people than me? If so, read on, if not, you should only build code that will eventually make sense to you when getting back to this project after a few years. If you are creating a theme that will … Read more

Use of Folders within WordPress

There are no “folders” in the CMS as the content is stored in a set of database tables, unless your site is created with the content inside the templates and not the content editor. A parent -> child page structure is possible and easy to organize. Simply assign the second level pages to a common … Read more

Hiding Directory Path

The easiest way to achieve this is to add, Options -Indexes ..to your .htaccess file. Specifically your .htaccess file should look like this, # BEGIN WordPress Options -Indexes …etc …etc # END WordPress This is one way and probably the most efficient way. This method will prevent any direct access outside of blog posts, pages, … Read more

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