CHMOD 666
-
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?
<?php
require(‘../wp-config.php’);
require_once(‘auth.php’);get_currentuserinfo();
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)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘CHMOD 666’ is closed to new replies.