Title: Customize Permalink
Last modified: August 19, 2016

---

# Customize Permalink

 *  [scooby](https://wordpress.org/support/users/scooby/)
 * (@scooby)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/customize-permalink/)
 * Is it possible to customize a permalink from:
 * `http://www.sitename.com/?p=1`
 * to:
 * `http://www.sitename.com/blog/?p=1`

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

 *  [jonimueller](https://wordpress.org/support/users/jonimueller/)
 * (@jonimueller)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/customize-permalink/#post-717272)
 * Why? Where is the actual blog? /blog or site root?
 * To customize it this way (and I highly recommend you get rid of the messy URLs(
   e.g., ?p=1, etc.) while you’re at it.
 * append this /blog/ to the custom permalink structure. Should be fine. But if 
   your blog is actually in the subdir /blog/ there’s no need.
 * I’m confused.
 *  Thread Starter [scooby](https://wordpress.org/support/users/scooby/)
 * (@scooby)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/customize-permalink/#post-717278)
 * The actual blog is in the blog directory.. I think I found a way around it though..
 * By setting this code:
 * `define('WP_USE_THEMES', true);`
 * to “false” I was able to customize my existing index page to work with wordpress
   while still having my blog’s index page in the root folder as well.. All I was
   really doing was trying to rename the blog’s index.php so that it doesnt take
   over my home page is all..
 * Thanks for the reply..
 *  Thread Starter [scooby](https://wordpress.org/support/users/scooby/)
 * (@scooby)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/customize-permalink/#post-717280)
 * I do have a another question about what you said about getting rid of messy urls
   though.. I tried to follow this [tutorial](http://www.tubetorial.com/blog-permalinks-word/),
   but I ran into a problem..
 * It didn’t pop out any code to create my .htacces file like the video did.. Is
   there something wrong with my installation, or is there some other way to obtain
   the code I need for the .htaccess file??
 * Thanks again..
 *  [jonimueller](https://wordpress.org/support/users/jonimueller/)
 * (@jonimueller)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/customize-permalink/#post-717442)
 * Be sure under General Options that you set your blog directory as /blog and not
   the root. There is NO REASON for you to be editing those core files. (In other
   words, keep your cotton-picking hands off of them!)
 * In General Options, there is a permalinks tab. Find the structure you like. WP
   should create an .htaccess file in your /blog directory. If it doesn’t, you should
   just create a plain, empty file called .htaccess and upload it to your /blog 
   directory. CHMOD it to 666, go back into the WP dashboard and set your permalink
   structure, allow WP to write to it and then CHMOD that file back to 644.
 * HTH.

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

The topic ‘Customize Permalink’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [jonimueller](https://wordpress.org/support/users/jonimueller/)
 * Last activity: [18 years, 2 months ago](https://wordpress.org/support/topic/customize-permalink/#post-717442)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
