• jadensmommy24


    Hi, I am new to WordPress and I am having problems tinkering with the template. I am aware that I have to add CHMOD 666 to all the files that I want to change. Is this done in my CPanel database? Is this where I want to add it?


    if (0 == $user_level) {
    $redirect_to = get_settings(‘siteurl’) . ‘/wp-admin/profile.php’;
    } else {
    $redirect_to = get_settings(‘siteurl’) . ‘/wp-admin/post.php’;
    header (“Location: $redirect_to”);
    Where do I put it?

    Sorry I am such a tool. I would appreciate any help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • NuclearMoose


    CHMOD is an attribute of a folder/directory or file. It is not something that you actually have to add into a file. In cPanel, if you go to your File Manager, you navigate to the specific files you wish to CHMOD. CHMOD is a way of giving permission for various levels of users to access files or folders.

    Simply click on the file name, and look for Change Permissions and click on that. Then you can enter 666 and you’re done.



    I made chmod 666 templates.php file, but nothing occurs. It’s still doesn’t allowing me to edit template.

    You don’t want to mess with templates.php. That file is something which helps you with editing other files. It is not to be edited itself.

    You want to edit things like index.php, and wp-layout.css. Use chmod to set those files to 666. Then you should be able to do what you want.

    i use smart ftp for changing the chmod properties for all my files and its main function is a file uploader…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CHMOD 666’ is closed to new replies.