that was the document that have used… but doesn’t work it gives-me a 404 error every time I don’t choose the default option..
Check with your hosts that mod_rewrite is running on your server.
Was the .htaccess file automatically updated when you switched to a custom permalink structure? Or did you get a message about amending your .htaccess file?
I got a message:
If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /WP/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /WP/index.php [L]
</IfModule>
It works 🙂
I’ve updated the file again and it worked 🙂
thaks for your help!