So this is the code I put in my .htaccess file:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /mydirectoryname/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /mydirectoryname/index.php [L]
</IfModule>
# END WordPress
But it still didn’t work – am I supposed to change “mydirectoryname” to something? Should “# BEGIN WordPress” or “# END WordPress” not be there? Anything else that I need to customize? Thanks!
mydirectoryname is just that, YOUR directory name! The rewrite base is relative to the root, so in http://www.example.com, the rewrite base is the root, hence / whereas in http://www.example.com/directory, the rewirte base is /directory. For the /index.php part in the file, that has to be wherever WordPress is, so if WordPress (relative to the root) is in a subdirectory called wordpress, then it would need to be: /wordpress/index.php.
It’s just common sense that if you don’t have a directory named “mydirectoryname” that you would need to change it for your situation!
Ok, so wordpress is installed at the root, not in any folders. And these are the settings I chose for my permalink structure – for archives: /archive/%postname% and for categories: /category
Then I put this into the .htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
And permalinks still aren’t working. Any ideas? Thanks for all the help – I need it!
Give these a try, they both have a space above the closing WordPress comment and a space between the period, try index.php with and then without the slash. I have no idea if these will make any difference or not.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
</IfModule>
# END WordPress
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
If you’ve updated the permalinks via the options panel and have saved the commands to the .htaccess (and it retains them), the only conslcusion I could think of is that they in-fact do not support this at all. Maybe try contact them, since it is their hosting service and “special” WP version, they should at least be able to tell you how to get this all to work.
Sorry I can’t be of more help than that. Thought of a new host perhaps?
Good luck,
Michael.
Tried Michael’s last directions and no luck. I’ve contacted Yahoo, but haven’t heard anything from them. Will have to contact them again. But looks like eventually I will be moving to a new host, because I need one that can make nice permalinks… If anyone comes up with any other ideas please let me know. I’ll write back with what I hear from Yahoo. Thanks again for all the help!
… oh. Yahoo. Don’t they not allow mod_rewrite or .htaccess processing or something like that?
[edit]
Ignore me. I see this was address 3 days ago in the same thread. http://wordpress.org/support/topic/62686?replies=22#post-335522