Title: .htaccess issue
Last modified: August 18, 2016

---

# .htaccess issue

 *  Resolved [badcredit](https://wordpress.org/support/users/badcredit/)
 * (@badcredit)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/htaccess-issue-1/)
 * Hi, I’m editing the link structure of my word press blog because every time I
   make a post I want the keywords from the title to appear within the url. So, 
   I added this code within the custom url structure: Link url format: /%postname%.
   html
 * However, it keeps saying to update .htaccess now. The only issue is that the .
   htaccess file is not there on my server. So, should I make a file and upload 
   it to my server, and if so what should I name the extension for it? For example,.
   html, php, or just leave it blank? Also, what should I update the .httacess file
   to as well? Thanks in advance.

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

 *  [shadow](https://wordpress.org/support/users/shadow/)
 * (@shadow)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/htaccess-issue-1/#post-649341)
 * It can be am empty text file simply saved as .htaccess [[nothing else needed]
 * You will also need to give it 777 permissions when you make changes to it and
   then change them back to 644 when completed.
 * You may need to configure your FTP client to see it though,
    often -al
 *  Thread Starter [badcredit](https://wordpress.org/support/users/badcredit/)
 * (@badcredit)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/htaccess-issue-1/#post-649405)
 * Thanks. Ok, so i uploaded it as an text file and then copy and pasted the code
   that wordpress gave to me but it still said that i need to update my .htacess
   file. Which part of it should i edit, and what exactly do i need to make it editable?
   The number 666? Thanks.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/htaccess-issue-1/#post-649407)
 * You either set the permissions (chmod) to 666 – making the file writable and 
   then WP will write the rules into it…
    or you can put the given code into the
   file and upload it again.
 *  [castus](https://wordpress.org/support/users/castus/)
 * (@castus)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/htaccess-issue-1/#post-649417)
 * Your server isn’t a windows server is it?
 *  Thread Starter [badcredit](https://wordpress.org/support/users/badcredit/)
 * (@badcredit)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/htaccess-issue-1/#post-649510)
 * No, im running on Linux. I edited the .htaccess file so that it was 666, but 
   still no luck, strange. Do i have to make changes to the code that wordpress 
   gave me?
 * <IfModule mod_rewrite.c>
    RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME}!-
   f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule
   >
 * Thanks.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/htaccess-issue-1/#post-649511)
 * No, don’t change anything.
 *  Thread Starter [badcredit](https://wordpress.org/support/users/badcredit/)
 * (@badcredit)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/htaccess-issue-1/#post-649519)
 * Err, its not working though, this is strange, any suggestions?
 *  Thread Starter [badcredit](https://wordpress.org/support/users/badcredit/)
 * (@badcredit)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/htaccess-issue-1/#post-649542)
 * Is anyone else having a similar promblem. >htaccess filed was added, the file
   was updated to 666, ,htaccess file updated and still not luck.
 *  Thread Starter [badcredit](https://wordpress.org/support/users/badcredit/)
 * (@badcredit)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/htaccess-issue-1/#post-649564)
 * Mistake found. File name was .htaccess.txt, should of just been .htaccess.
 *  [mmancinitn](https://wordpress.org/support/users/mmancinitn/)
 * (@mmancinitn)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/htaccess-issue-1/#post-649622)
 * My .htaccess is correctly names and I am still having a problem. All my links
   and permalinks and comments all go to the homepage. Does any one have any suggestions?

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

The topic ‘.htaccess issue’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 5 participants
 * Last reply from: [mmancinitn](https://wordpress.org/support/users/mmancinitn/)
 * Last activity: [18 years, 5 months ago](https://wordpress.org/support/topic/htaccess-issue-1/#post-649622)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
