I don’t quite understand. Can you give examples? And a link is always helpful, but examples would make it much clearer what you need to do and what it is doing currently to figure out how to get you where you want to go.
Also are you in control of the server? You should be able to edit the .htaccess to make the server use index.php over home.php. but… I am guessing, you can’t edit the .htaccess file, and that is why you need “ugly permalinks”?
Jcow,
Thanks for the swift reply, indeed I do not have editing privileges for the .htaccess file. Here’s a link to the blog: http://www.queensu.ca/philosophy/index.php . The issue is that whenever I click on a category, it brings it to /philosophy/?cat=x which opens up to home.php instead of index.php which means nothing shows up. I hope this clarifies the problem? Thanks again. -Octavian
Just an addendum to the above. I’m hoping it could open up to /philosophy/index.php?cat=x which would fix the problem. -Octavian
Have you tried editing the permalinks page?
This should work, but let me know.
Settings > Permalinks
add a “Custom Structure”: index.php/%year%/%monthnum%/%postname%/
And that should actually give nicer looking urls, but just with the index.php in them, which allows you to not need the .htaccess.
I am a little rusty on this issue, but I believe that has worked for me in the past.
Thanks for this jcow, unfortunately, while it works, the design completely drops out of the picture for some reason? http://www.queensu.ca/philosophy/index.php/category/colloquium/ .
Ha. sorry that must have been surprising.
change this line:
<link href="style.css" rel="stylesheet" type="text/css">
to something like this:
<link href="<?php get_bloginfo('url'); ?>/style.css" rel="stylesheet" type="text/css">
When you get into permalinks, it tricks the browser into seeing directories when there really aren’t any, so you can’t use a relative path to files like that. Absolute paths make it a lot easier.
You could also just use:
http://www.queensu.ca/philosophy/style.css
but the other path is more dynamic in case your blog changes or something…
Hi jcow,
Thanks again for this. Is there any way to set the default path for the whole thing without going one by one? I’d basically have to hardlink the whole menu otherwise. It’s certainly not a problem, it just won’t look pretty. -Octavian
Thanks again. I hardlinked everything that needed to be so and it all works splendidly now. best, Octavian
Great! glad it is working.
Better way: Add DirectoryIndex index.php
to the .htaccess file.
Im also experiencing the same issue. We have the wordpress blog installed in a subdirectory of a main directory. I want to get rid of index.php from permalinks
i hope the wordpress developers can help us