Title: .htaccess problem with permalinks
Last modified: August 21, 2016

---

# .htaccess problem with permalinks

 *  Resolved [robertallen](https://wordpress.org/support/users/robertallen/)
 * (@robertallen)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/htaccess-problem-with-permalinks/)
 * I keep getting this message in Permalinks section…
 * 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.
 * When I copied the code into .htaccess I thought this would fix it, but it’s still
   showing this error.
 * What folder do I put the .htaccess file in to resolve this issue?

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

 *  [DJDoubleXL189](https://wordpress.org/support/users/djdoublexl189/)
 * (@djdoublexl189)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/htaccess-problem-with-permalinks/#post-3763744)
 * the .htaccess file stays in the root folder.
 * If I were you, I’d make the file writable through your FTP program, then after
   you’ve updated your permalink, remove the writable option.
 *  [Triptripper](https://wordpress.org/support/users/triptripper/)
 * (@triptripper)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/htaccess-problem-with-permalinks/#post-3763747)
 * [http://codex.wordpress.org/Using_Permalinks#Where.27s_my_.htaccess_file.3F](http://codex.wordpress.org/Using_Permalinks#Where.27s_my_.htaccess_file.3F)
 *  Thread Starter [robertallen](https://wordpress.org/support/users/robertallen/)
 * (@robertallen)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/htaccess-problem-with-permalinks/#post-3763749)
 * That’s wierd…it’s still showing the error.
 *  Thread Starter [robertallen](https://wordpress.org/support/users/robertallen/)
 * (@robertallen)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/htaccess-problem-with-permalinks/#post-3763751)
 * In my root directory I have this…
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
       # END WordPress
       ```
   
 * and I have permissions set to 644. I tried with 777 and no avail.
 *  Thread Starter [robertallen](https://wordpress.org/support/users/robertallen/)
 * (@robertallen)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/htaccess-problem-with-permalinks/#post-3763754)
 * Thank you all. I fixed it. I had the wrong URL in the settings, that’ll teach
   me to move a web site at 3:30am when I’m half asleep.
 * Sorry about that, but thank you guys so very much for your help.

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

The topic ‘.htaccess problem with permalinks’ 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/)
 * 5 replies
 * 3 participants
 * Last reply from: [robertallen](https://wordpress.org/support/users/robertallen/)
 * Last activity: [12 years, 12 months ago](https://wordpress.org/support/topic/htaccess-problem-with-permalinks/#post-3763754)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
