Die .htaccess brauchst Du, wenn der Server auf dem WP läuft Apache ist und du möchtest, dass die Artikel nicht aussehen wie Example Web Page, sondern http://example.com/2009/03/12/heu…enigin-ihr-kind
Dafür sollte sie natürlich nicht leer sein, sondern sollte etwa so aussehen:Apache Configuration# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPressDass musst Du aber nicht umbedingt reinschreiben, sondern es sollte reichen, wenn das Root-Verzeichnis, also da wo du die .htaccess gelöscht hast, beschreibbar ist. Dann gehst Du unter Einstellungen > Permalinks, wählst dort "Tag und Name" aus und klickst auf Änderungen übernehmen.
Dann sollte WP dir die Datei mit entsprechendem Inhalt anlegen.
Using Permalinks WordPress Codexlol@maxe... OK... :mrgreen:
Hi Maxe!
Danke für die Antworten!
mod_rewrite sollte also an sein und die .htaccess sollte 755 Rechte haben. Das sind die wesentlichen Voraussetzungen. Stimmt das so?
die anderen Sachen habe ich auch gelesen, die sagen mir aber nichts:
Zitat
- Apache web server with the mod_rewrite module installed
- In WordPress's home directory,
- The FollowSymLinks option enabled
- FileInfo directives allowed (e.g. AllowOverride FileInfo, AllowOverride All)
- An .htaccess file (if this file is missing, WordPress will try to create it when you activate "pretty" permalinks)
- If you want WordPress to update the .htaccess file automatically, WordPress will need write access to the file.
- For lighttpd, see External Resources.
Kann ich die erst mal beiseitelassen?
Dank + Gruß!
Rapahel