Title: Permalink problem: .htaccess editable but permalink code not being inserted
Last modified: August 18, 2016

---

# Permalink problem: .htaccess editable but permalink code not being inserted

 *  [ibeatty](https://wordpress.org/support/users/ibeatty/)
 * (@ibeatty)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/permalink-problem-htaccess-editable-but-permalink-code-not-being-inserted/)
 * Greetings.
 * I’ve just upgraded to WP 2.0.1, and I’m trying to change my permalinks (archives
   and tags). Unfortunately, when I do, WP doesn’t seem to change the contents of
   my .htaccess file.
 * My apache does have mod_rewrite running. I can hand-edit .htaccess via WordPress’s
   file editor web page, meaning that the permissions are set correctly. When I 
   try to change the permalink structure, the links in my WP site pages change, 
   but the .htaccess rules aren’t there, so anyone clicking on any permalink gets
   a 404 Not Found error.
 * Do any of you WP wizards have an idea why WP might be failing to change .htaccess
   for permalinks? And what code can I hand-insert to get the same effect?
 * Thanks!
    :: ian ::

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/permalink-problem-htaccess-editable-but-permalink-code-not-being-inserted/#post-351486)
 * Upgraded from what? 1.5.x or 2.0?
    Since 2.0 the .htaccess file always stays 
   the same and the rules are somehow handled “internally” – don’t aski me how, 
   I don’t understand it either 🙂
 * But! If the .htaccess file is really writable and the server supports it, the
   permalinks should work.
 *  [prjg](https://wordpress.org/support/users/iiiiiiiv/)
 * (@iiiiiiiv)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/permalink-problem-htaccess-editable-but-permalink-code-not-being-inserted/#post-351491)
 * You can *write* to your .htaccess file? Geez…
 *  Thread Starter [ibeatty](https://wordpress.org/support/users/ibeatty/)
 * (@ibeatty)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/permalink-problem-htaccess-editable-but-permalink-code-not-being-inserted/#post-351837)
 * moshu: I upgraded from 1.5.somethingorother.
 * If 2.0 doesn’t change .htaccess but handles the rules internally, that would 
   explain why I’m not seeing any changes in .htaccess. But the problem still exists:
   why isn’t WP handling requests that obey the new permalink structure?
 * IIIIIIIV: Sure, that’s one of the files accessible via WP’s through-the-web file
   editor. Manage -> Files, then click on “.htaccess” under the Common section to
   the right of the editing box. (I ssh’d to my host and inspected the contents 
   of .htaccess directly, just to make sure the editor’s changes were actually saved.
   They were.)
 * So, any lurking WP sages have suggestions? Can anyone confirm that .htaccess 
   is not *supposed* to change for alternate permalink structures?
 * Thanks!
 *  [prjg](https://wordpress.org/support/users/iiiiiiiv/)
 * (@iiiiiiiv)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/permalink-problem-htaccess-editable-but-permalink-code-not-being-inserted/#post-351838)
 * _IIIIIIIV: Sure, that’s one of the files accessible via WP’s through-the-web 
   file editor._
 * Yeah, I know.
 * I always thought having a .htaccess file that’s group/world writable was a bad
   idea. The *only* way that file should ever be edited is via SSH to a shell account
   using pico or vi or some such. There can be stuff in them, like digest and auth
   info, that no-one’s meant to see.
 * Can’t help you with why the re-write doesn’t work. It should work from the second
   the rule is activated.
 *  [baudesign](https://wordpress.org/support/users/baudesign/)
 * (@baudesign)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/permalink-problem-htaccess-editable-but-permalink-code-not-being-inserted/#post-351959)
 * IIIV, you say:
 * “Can’t help you with why the re-write doesn’t work. It should work from the second
   the rule is activated.”
 * Can you be more specific? How do you actually activate this rule?
 * I have the same problem. But unlike ibeatty, when I try to access the .htaccess
   file by means of the WordPress internal file manager, I end up with a:
 * `Forbidden
    You don't have permission to access /weblog/wp-admin/templates.php
   on this server
    page.
 * I will follow this thread closely. My original problem has still not been solved:
   [http://wordpress.org/support/topic/64199](http://wordpress.org/support/topic/64199)
 * Thanks.
 *  [prjg](https://wordpress.org/support/users/iiiiiiiv/)
 * (@iiiiiiiv)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/permalink-problem-htaccess-editable-but-permalink-code-not-being-inserted/#post-352006)
 * Sorry, didn’t see this topic had been added to.
 * What I mean is that the minute the .htaccess rule is written and saved server-
   side, it becomes active. You’ll know if it’s valid or not, it’ll generate an 
   internal server error otherwise.
 * You can’t access the file because .files are “hidden” files in Unix parlance 
   and there’s a setting in apache that enforces this. That’s by design – it’s not
   meant to be toyed with remotely like WP allows you to.
 *  [baudesign](https://wordpress.org/support/users/baudesign/)
 * (@baudesign)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/permalink-problem-htaccess-editable-but-permalink-code-not-being-inserted/#post-352013)
 * <- No more hair on my head ->
 * I do not know what to say. I have scanned the Internet, read FeedBurner’s forums,
   Order List’s forums, this one. It seems that everyone got this plugin working,
   but not me!
 * And I am not sure if it is a .htaccess issue here. Mine is writable, always empty.
   All i get is a:
 * `Not Found
    The requested URL /weblog/feedburner_333116/ was not found on this
   server.
 * Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument
   to handle the request.
    Apache/1.3.34 Server at [http://www.baudesign.ca](http://www.baudesign.ca)
   Port 80
 * …error all the time.
 * Tried different permalink structures, deactivated then reactivated the plugin.
 * Nothing. Rien. Niet. Nada.
 * I quit! No FeedBurner redirection for me.
 *  [tcloer](https://wordpress.org/support/users/tcloer/)
 * (@tcloer)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/permalink-problem-htaccess-editable-but-permalink-code-not-being-inserted/#post-352015)
 * WP since 2.0 only generates a standard 9 line .htaccess file. The actual rewrite
   rules are written to your database (somewhere in wp_options)…
 *  [prjg](https://wordpress.org/support/users/iiiiiiiv/)
 * (@iiiiiiiv)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/permalink-problem-htaccess-editable-but-permalink-code-not-being-inserted/#post-352016)
 * _WP since 2.0 only generates a standard 9 line .htaccess file. The actual rewrite
   rules are written to your database (somewhere in wp\_options)…_
 * That’s weird. So, how does WP use them (and apache use them) from the DB? According
   to the guide on mod_rewrite, the directives need to be in http.conf or .htaccess
   or whatever your control file is named.
 * [http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html](http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html)

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Permalink problem: .htaccess editable but permalink code not being inserted’
is closed to new replies.

## Tags

 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 5 participants
 * Last reply from: [prjg](https://wordpress.org/support/users/iiiiiiiv/)
 * Last activity: [20 years, 1 month ago](https://wordpress.org/support/topic/permalink-problem-htaccess-editable-but-permalink-code-not-being-inserted/#post-352016)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
