I struggled with updating my Permalinks. When I changed them the whole site went 404. UGLY ….
In solving the problem I found a few awesome links :
Dean Lee’s plugin in particular was very nice (thank you Dean Lee !!).
BUT ….
After changing the permalinks, my whole site continued to 404
I found the solution HERE
The problem was I do not have .htaccess (AllowOverride option) enabled.
From there the solution was easy, rather then using a .htaccess file add a to your Apache config file.
The general format is :
<Directory /var/www/blog.bodhizazen.net>
#Notice the FULL PATH to the site root directory …
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</Directory>
Hint: If you do not know what to add , look at the contents of the .htaccess file that WordPress automatically generates.
With this “simple” edit I can not change my permalinks without 404′ing me blog – w00t !!!
I hope this helps as all the WordPress Documentation I found keept referring to the .htaccess file (which of course was not helping me).
WOOT! I am glad you figured it out man! I’m sorry I couldnt help you out much, its just been too long of not using wordpress for me. I guess I need to get off my lazy ass and fire up another home brew wordpress site.
Pingback: Shadows of epiphany » Blog Archive » Change your Permalinks in …
hehe .htaccess has the same syntax as the httpd.conf. But most people that are running wordpress don’t have their own installations/servers so they give the .htaccess solution since it is the mostly widely available fix.
Glad you found the solution and it wasn’t that complicated.
Hi.
My webshost yahoo does not allow to create .htaccess file.
Whats the solution to change permalink then?
MFadvisor : You are kind of stuck then. You need to either have access to .htaccess or the apache config file.
Can you upload a .htaccess ?
I have the similar issue. I’m using Yahoo! as webhosting and today I had a talk w/them, they said, they don’t allow using/ uploading .htaccess file and can not enable mod_rewrite for me in httpd.conf file. I spent couple days to figure out why the permalinks are not working and what can I do. I’m still stuck up in this. I’ve already tried the pretty permalinks which includes index.php in the url, I want to avoid that.
Any help would be really appreciated. Thanks in advance.
@Him:
To be honest I know of no other solution and suggest you change hosting.
Hi, thanks for replying but I’m helpless I can not change my hosting provider. I need to still find any other option if available.
The strange thing is, I have 2 blogs running on the Yahoo! web servers, one is recently upgraded from 2.3 to 2.7.1 and it works fine w/the permalinks (although I installed couple plugins for that and it was a real pain while upgrading), but the new WP 2.7.1 installation doesn’t support the permalinks on the same server. Any hint what should I check?
~HIM
THAT DID THE TRICK!
By the way: Apache2 (on Ubuntu) uses apache2.conf instead of httpd.conf
Somehow, I automatically looked for httpd.conf, so that took me a while too
Thank you!!!! I tried fixing this forever and this finally resolved my issue. I just changed RewriteEngine from off to on and made sure to do it in Firefox and not in IE. Somehow that did the trick. Thanks!!!