mod_rewrite on godaddy with wordpress
I've got the Wordpress blogging software up on my hosting service (godaddy.com) However, I would like to be able to the "permalink" feature, but I cannot figure out how to get mod_rewrite to work. So far, I've tried putting up a .htaccess file on the root of my server that contains only: RewriteEngine on But, this still does not work. I get a 404 error. Wordpress is installed in a subdirectory "main" Any advice? Thanks
.htaccess affects the directory that it's in and any subdirectories. I think that mod_rewrite will be simpler with .htaccess in the /main/ directory. Actually, WordPress will give you the mod_rewrite rules and it will probably look there for it. in /main/.htaccess, try [code:1] Options SymlinksIfOwnerMatch RewriteEngine On [/code:1] Then log in to WordPress as admin and look at the "Options" tab. Under that choose "Permalinks." There's an explanation of how to edit the layout of links and an edit box to enter your formatting string in. I use [code:1] /archives/%year%/%monthnum%/%day%/%postname%/ [/code:1] for my WordPress blog. Hit the "Update Permalink Structure" button and you should get a set of rules underneath for your .htaccess. Copy and paste them in to .htaccess under "RewriteEngine On" and you should be all set.
Post new comment
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can use BBCode tags in the text.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor, sorry but we need it to help prevent automated submissions.
"cawed dukes iller mutts neume pumas"