chmod

Typical chmod setting to a sites files and folders:# 775 gives: Owner (www-data usually) read+write+executeGroup read+write+executeOthers read+execute The 2 means apply it going forwards to sub folders and files The 0 is required to forcePHP to interpret the value a octal, otherwise it defaults to decimal which can sometime cause weird permissions to be set

Read More

WordPress Paths

WordPress root Homepage URL Reirect to a page Site WP install URL The URL of the WordPress install. Usually identical to using site_url(), but not necessarily! User home_url() generally. URL to WP admin area For ap-admin you should use site_url(), tahts the correct usage! WordPress root – Server filesystem WordPress Theme get_stylesheet_directory_uri() is better because […]

Read More