« Why a conversation with your customers is important | Home | Using a Mac with WordPress »

.htaccess file questions

By Mike | March 19, 2008

WordPress Made EAsy

Today’s question is:

Under options, permalinks, I set the field to “custom” and added the /%category%/%postname%/ to make it SEO friendly.

I got this message below. I don’t have a clue what to do with this instruction or what it means.

If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all. (I can see the code I need to click). But now what?

The .htaccess file sets the rules that will allow you to use custom permalinks. If you have copied the code you just need to access the .htaccess file and add that information.

Log in to your cpanel - click file manager - and locate your .htaccess file (probably in public_html) if your blog is in the root of the site. Click to edit and add that code into the file and save it.

Now if your .htaccess file shows when you ftp in to the server (it doesn’t always depends on server settings) the easiest thing is to just cham=nge the permissions (chmod) to 666 and redo the permalink change in your dashboard.

The fact that it is not writable was what kept the blog from doing it originally.

As always your comments and questions are welcomed. Leave a comment or use our survey form to ask your question.

Mike Paetzold

 
icon for podpress  Permalinks and .htaccess [2:13m]: Play Now | Play in Popup | Download

Technorati Tags: .htaccess, change-permalinks

Related posts


My Own Secret Weapons >>>

Topics: questions | We do follow trackback

One Response to “.htaccess file questions”

  1. Dave Says:
    March 20th, 2008 at 4:02 pm

    Hi Mike!

    This is more a question than a comment. Is it OK to leave .htaccess permission set to 666 or should it be changed to 644 which denies write permissions to anyone except the user. Or does Wordpress need it to be 666. This is dangerous, is it not?

    I just added a 301 directive through Cpanel with permission set to 644. If this were for Wordpress permalinks, does it need to be 666?

Comments

We do follow and add comment luv but you must use a real name. Any keyword names will be considered spam and treated as such.