• 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)
  • Thread Starter dlack

    (@dlack)

    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!

    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.

    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

    (@dlack)

    Thread Starter dlack

    (@dlack)

    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 https://localhost/wordpress to https://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!

    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

    (@dlack)

    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.