Title: permalink help needed
Last modified: August 19, 2016

---

# permalink help needed

 *  [n5ive](https://wordpress.org/support/users/n5ive/)
 * (@n5ive)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/permalink-help-needed/)
 * Hi,
 * I’ve installed a wordpress blog for a friend, but I really don’t know enough 
   on how to change the permalink to what I want. I just want it to go /home/%postname%/
   but instead it keeps going /home/index.php/%postname%/.
 * I’ve read the Codex pages on it but I simply don’t understand how to do these
   rewrites to get rid of it despite trying. I’ve searched numerous sites but can’t
   find one that gives me a ready made example on how to do it.
 * I need help on what I’m supposed to put in the .htaccess file because, as I said,
   it’s just beyond me.
 * Thanks.

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

 *  [Brent Leavitt](https://wordpress.org/support/users/brentleavitt/)
 * (@brentleavitt)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/permalink-help-needed/#post-1375796)
 * Under “Settings > Permalinks”, select the radio button for “Custom Structure”,
   then insert this code:
 * `/%category%/%postname%/`
 * Then click “Save Changes”. That should then generate a warning that an .htaccess
   file needs to be generated. If your installation is working like mine, it’ll 
   even generate the code at the bottom of the page to put in to the .htaccess .
   But if not, here is what I have:
 *     ```
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
       ```
   
 * Save the above code to an .htaccess file and then upload that to the root directory
   where your Word Press files are located. That should do the trick. making for
   very nice URLs without the “index.php” name in the code.
 * Maybe this helps,
    Brent
 *  [Shane G.](https://wordpress.org/support/users/shane-g-1/)
 * (@shane-g-1)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/permalink-help-needed/#post-1375810)
 * > Hi,
   > Set your deisred permalink from wordpress admin area and add this code in htaccess:
   >     ```
   >     # BEGIN WordPress
   > 
   >     <IfModule mod_rewrite.c>
   >     ErrorDocument 404 /index.php?error=404
   >     RewriteEngine On
   >     RewriteBase /
   >     RewriteCond %{REQUEST_FILENAME} !-f
   >     RewriteCond %{REQUEST_FILENAME} !-d
   >     RewriteRule . /index.php [L]
   >     </IfModule>
   > 
   >     # END WordPress
   >     ```
   > 
   > Thanks,
   > Shane G.

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

The topic ‘permalink help needed’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Shane G.](https://wordpress.org/support/users/shane-g-1/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/permalink-help-needed/#post-1375810)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
