Title: Setting up permalinks in WordPress
Last modified: August 20, 2016

---

# Setting up permalinks in WordPress

 *  [dlack](https://wordpress.org/support/users/dlack/)
 * (@dlack)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/setting-up-permalinks-in-wordpress/)
 * Hello everyone!
 * I’m new to the WP scene. I’ve installed WP on a 2008 Server box and the installation
   went smooth. I’m using IIS 7 as well.
 * I’m a little confused on the directory structure when implementing permalinks.
   If I go to OPTIONS then GENERAL in my dashboard, I view my path as being example.
   com/wordpress. When setting up permalinks, do I follow the same directory path
   just like in permalinks? Or does the rewrite rule just rewrite the URL to the
   wordpress directory to access the index.php file?
 * For example, if I edit my custom structure under permalinks in the dashboard 
   like %year%/%day%/%hour%/ so that pretty URLs/rewrite takes effect, do I have
   to create a directory structure just like my permalink structure in the root 
   directory and copy the themes into the last folder?
 * Any help would be deeply appreciated!
 * Thanks!

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

 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/setting-up-permalinks-in-wordpress/#post-2209817)
 * Have you read this? [http://codex.wordpress.org/Using_Permalinks](http://codex.wordpress.org/Using_Permalinks)
 *  Thread Starter [dlack](https://wordpress.org/support/users/dlack/)
 * (@dlack)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/setting-up-permalinks-in-wordpress/#post-2209899)
 * Thank for the info Kmesssinger.
 * I read the article and I still feel dumbfounded. I have looked over the proper
   way of stetting up permalink and have made sure that the rewrite module has been
   installed. Pretty much everything is set up correctly but I guess I’m having 
   a hard time understanding the file structure on the drive. Do I still leave all
   the WordPress files in their perspective folders when first installed, or do 
   I have to move those files as well to the proper directories after setting up
   permalink? Could you give me an example?
 * Also, I’ve noticed that I can’t view the blog themes on another computer properly.
   It’s like it can’t find the CSS location and image isn’t showing up in the header.
   All the themes load find on the server though.
 * Thanks for the help!
 *  [wptorgue](https://wordpress.org/support/users/wptorgue/)
 * (@wptorgue)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/setting-up-permalinks-in-wordpress/#post-2209900)
 * If you load your css with a relative path (like: href=’mycss.css’) then it wont
   work well with permalinks. Try setting all your CSS and Image paths to absolute.
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/setting-up-permalinks-in-wordpress/#post-2209907)
 * The file structure should be left as is. WP will operate out of the box as it
   is.
 * Post a url so we can look at the css, etc.
 *  Thread Starter [dlack](https://wordpress.org/support/users/dlack/)
 * (@dlack)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/setting-up-permalinks-in-wordpress/#post-2209915)
 * Here you go Kmessinger:
 * [http://www.insidetechwired.com/wordpress/](http://www.insidetechwired.com/wordpress/)
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/setting-up-permalinks-in-wordpress/#post-2209917)
 * The css should be here, [http://www.insidetechwired.com/wordpress/wp-content/themes/twentyten/style.css](http://www.insidetechwired.com/wordpress/wp-content/themes/twentyten/style.css)
   but instead is here, [http://localhost/wordpress/wp-content/themes/twentyten/style.css](http://localhost/wordpress/wp-content/themes/twentyten/style.css)
 *  Thread Starter [dlack](https://wordpress.org/support/users/dlack/)
 * (@dlack)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/setting-up-permalinks-in-wordpress/#post-2209920)
 * Thanks again for the help Kmessinger!
 * This is too funny, I went into the “general” settings to put “www.insidetechwired.
   com/wordpress” for the HOME and URL and NOW it displays correctly on my client
   machine, BUT now since I changed [http://localhost/wordpress](http://localhost/wordpress)
   to [http://www.insidetechwired.com/wordpress](http://www.insidetechwired.com/wordpress),
   it won’t allow me to access the dashboard to log in AND it’s doing exactly the
   opposite. Now my Server won’t display the pages correctly AND because of that,
   I CAN’T access the dashboard because it thinks the database is down. Hmmmm isn’t
   there a way I can configure that in the wp-config.php file?
 * Here is the set-up
 * define(‘DB_NAME’, ‘wordpress’);
 * /** MySQL database username */
    define(‘DB_USER’, ‘root’);
 * /** MySQL database password */
    define(‘DB_PASSWORD’, ‘my password’);
 * /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);
 * /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’,‘
   utf8’);
 * /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’,”);
 * Using localhost shouldn’t be of a problem. I’m using a loop-back IP address for
   the server.
 * Thanks again, you’ve been helpful!
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/setting-up-permalinks-in-wordpress/#post-2209922)
 * I pretty much no nothing about servers and how wp sets up with a local server.
   I don’t think you are supposed to access the admin pages thru the server.
 * [Edit] lots of info binging, “using wordpress on a local server”
 *  Thread Starter [dlack](https://wordpress.org/support/users/dlack/)
 * (@dlack)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/setting-up-permalinks-in-wordpress/#post-2209925)
 * Hey Kmessinger…
 * You’re right, you’re NOT supposed to use the server as a means of editing your
   blog. I have total access to everything from my main laptop now and it is FINALLY
   seeking in deep when working with WP hosted on your own server. I didn’t really
   have a big problem as I thought I did. I just needed to change the URL and it’s
   all good now. 🙂
 * You learn something everyday when you’re playing with new toys. 🙂
 * Thanks for your help, I really appreciated it!

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

The topic ‘Setting up permalinks in WordPress’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 3 participants
 * Last reply from: [dlack](https://wordpress.org/support/users/dlack/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/setting-up-permalinks-in-wordpress/#post-2209925)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
