j’ai le même probléme mais lorsque les utilisateur du blog veulent aller sur un commentaire récent ils ont ‘erreur 404″ j’aimerai aussi comprendre POURQUOI????
My best guess would be a lack of mod_rewrite. If you don’t know what that is, contact your web host. Their support staff should be able to tell you whether you have it available or not. If your server doesn’t have it, hopefully that is your problem and they can get it set up for you so things start working.
Using_Permalinks
Pretty permalinks are available under:
Apache web server with the mod_rewrite module
Microsoft IIS 7+ web server with the URL Rewrite 1.1+ module and PHP 5 running as FastCGI
Microsoft IIS 6+ using ASAPI_Rewrite
Lighttpd using a 404 handler or mod_rewrite
You should also make sure that you have a .htaccess file and that WordPress has permissions to write to it.
The following should be in your .htaccess file, as of 3.0+
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Thread Starter
wpbaby
(@wpbaby)
Okay, so I fixed my own problem as follows:
First, I went into my MySQL database (using PHYMyAdmin) and brought up the table named “wp_options” in Browse mode. Went to page 2 (of the field listings), and changed the value of field number 31 – “permalink structure” from “/%category%/%postname%/” to “/%year%/%postname%/” and saved the change.
I then went to my remote site, and using FileZilla (my FTP program) I deleted the entire website folder. Now, luckily I wise enough to have taken a local HDD backup of the entire folder, before I decided to try and resolve the problem by overwriting the version 3.1.3 files with version 3.2.1. So, I copied the local HDD backup back to my remote site and what do you think? I was back up and running…and had pretty links as well!
@daemus…thanks for your post/suggestion anyways 🙂 I had already tried what you suggested and that was all fine…including the content of the .htaccess file.
Hope this helps somebody else, if faced with a similar situation.
Glad to hear you got your problem figured out!
If all is well, please mark this as “resolved” so when others search for the same type of problem, they can quickly see your post and hopefully use your information to help them.