Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Update htaccess

Posted on 2007-07-26
6
Medium Priority
?
1,221 Views
Last Modified: 2008-01-09
Using OS X v3.3.9   and   wordpress v2.1.1

I want to update my permalinks but get an error message = You should update your .htaccess now.

I am not sure what to do here. Thanks!
0
Comment
Question by:ronchicago
5 Comments
 

Expert Comment

by:stevenp17
ID: 19586568
Do you have full FTP access? Go into your site and ensure you have a .htaccess file and not htaccess.txt, you can do this easily by renaming it so rename the htaccess.txt file to just .htaccess make sure you do not put a file extension on it.

Once you have confirmed that you have a .htaccess file you need to make it writeable or the permissions should read 666
0
 

Author Comment

by:ronchicago
ID: 19593866
here is my latest comment...

i have read the various posts on the wordpress forum regarding updating htaccess but each does not tell me what i should do with my setup:

1) i am on a mac and apache server and have mod_rewrite active.

2) i am using the default config = ugly (any 'strong" reason to change to pretty?)

3) when i try to update permalinks i get the update htaccess blurb. there are no suggested rules at the bottom of my page. note: i get this message on an older site and brand new one with only two posts on it.

4) i changed the chmod on my htaccess to 666 and will go back to 644 as needed

5) i read the codex link = http://codex.wordpress.org/Using_Permalinks

my question is...

what do i precisely need to do to update the permalinks and is it best practice to go pretty, and if so, an easy fix from ugly with both my old and new site. is there anything else i need to know?
0
 

Author Comment

by:ronchicago
ID: 19593892
sorry, to answer your questions earlier...

1) yes i and full access via cpanel including shell, etc.

2) yes, i have a .htaccess with no content in this file
0
 

Accepted Solution

by:
niradnam earned 500 total points
ID: 19836973
If you can access your /wp-admin/, please goto /wp-admin/templates.php?file=.htaccess

Once there, if the box is blank fill it with:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress


Once done click 'update' (or whatever that button on the bottom is), and off you go.

If this doesn't work, you will need to make a file on your computer called '.htaccess'. If your computer does not allow you to do this you can simply name it something else for now. Once done, paste the above content into it and save it. Upload it to your "website root" (where you put files for people to see, and where you have WordPress) and rename it to ".htaccess".

Off to the races.
Hope this helps.
0
 
LVL 1

Expert Comment

by:Computer101
ID: 20212497
Forced accept.

Computer101
EE Admin
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to install BuddyPress on your self-hosted WordPress site It’s been called everything from “social networking in a box” to “Facebook without the terms of service,” but until Feb. 16, BuddyPress was a relatively unknown outside the WordPress MU…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
Suggested Courses

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question