Moderator
James Huff
(@macmanx)
Volunteer Moderator
The .htaccess file needs to be in the same directory as WordPress’ index.php file.
Thread Starter
karlb
(@karlb)
yeah thats where it is π
So did you see anything wrong with my file?
This is where my index is pointing:
‘<?php
/* Short and sweet */
define(‘WP_USE_THEMES’, true);
require(‘./news/wp-blog-header.php’);
?>’
Thanks
Moderator
James Huff
(@macmanx)
Volunteer Moderator
The file looks fine. Does your hosting provider have mod_rewrite enabled?
Thread Starter
karlb
(@karlb)
Yeah. Its works. I deleted the file and then updated permamlinks and the file wrote to root just fine.
Moderator
James Huff
(@macmanx)
Volunteer Moderator
So, do your permalinks work now?
have you seen this?
http://codex.wordpress.org/Using_Permalinks
scroll to the bottom. it shows another handler that needs to be se to allowed on your server.
Moderator
James Huff
(@macmanx)
Volunteer Moderator
AllowOveride is a basic Apache function that should enabled on all servers. If your hosting provider has disabled it, find a new hosting provider ASAP.
Thread Starter
karlb
(@karlb)
‘So, do your permalinks work now?’
No they don’t this is so stressful π What on earth could be causing it?
AllowOveride is enabled.
So, let me see if I understand. Your index.php and .htaccess is in your root, but the rest of your wp installation is in news? Even though your index is in the same directory as your .htaccess, won’t wp be looing for your .htaccess in the wp install dir?
Thread Starter
karlb
(@karlb)
well I thought that too and put a copy in wp but still same errors.
Actually when I click update permamlinks the htaccess is always written to root where I have the index and not the wp folder.
Literally pulling hair out over this one!
Any fuerhter suggestions greatly appreciated.
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Does your host support the use of .htaccess? (believe it or not, some don’t)
Thread Starter
karlb
(@karlb)
Sure does. They worked effortlessly with 1.2 but with 1.5 .htaccess just does not work.
My host assures my everything is fine with rewrite and.htaccess.
I can only think it is an issue with 1.5.
Thanks
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Thread Starter
karlb
(@karlb)
yeah I have already read that. Maybe a fresh install might fix something.
Thanks
Hello!! Just been working on the same type of problem with a new install. I am the host and was having probelms with it but turns out that the key thing was not using the %category% tag, which according to one of the hidden middle paragraphs of the codex isn’t supported below Apache 2. Hey Presto!Myserver is running Apache 1.3.33 Now the permalinks have started to work, having removed the %category% tag, leaving it just to /%author%/%postname%/
Maybe this will help you.
Matthew