Lighttpd dan ModRewrite
Mar 10th, 2008 | | Referensi
Setelah sukses pindahan ke server baru, semua plugins jalan, theme juga udah kembali ke jalan yg bener, posts ama comments ga ada yg ilang, tapi kok pretty permalinknya ga jalan ya?
oOoo file .htaccess nya ga ada, ya udah, bikin file .htaccess, isi sama mod_rewrite rule yg sama dengan yg di server lama, ehm… kok dia masih ngambek juga?
Ok, saatnya tanya sama yg punya share hosting, n jawabnya adalah: server yang baru ga pake Apache, tapi pake Lighttpd buat web servernya
Trus biar bisa pake mod_rewrite gimana dong? Aku kan ga suka pake “almost pretty permalink” alias permalink yg masih pake index.php/%postname%/ gitu
Tanya om Google, n nemu artikel2 berikut ini:
- Docs:ModRewrite
- Lighttpd and WordPress setup clean seo friendly urls
- UrlRewrite for WordPress on Lighttpd
- Url rewriting for WordPress and Lighttpd
Intinya, buat bikin permalink dengan mod_rewrite di Lighttpd, kita harus mengedit file configurasinya. Terpaksa deh, minta tulung lagi sama bos Andri sang empunya share hosting buat ngedit tu file, katanya sih ditambahin option kayak gini:
url.rewrite = ("^/(wp-.+).*/?" => "$0","^/(sitemap.xml)" => "$0","^/(xmlrpc.php)" => "$0","^/(.+)/?$" => "/index.php/$1")
Ya gapapa deh, biarpun aku belum gitu mudeng, yang jelas sekarang kedua blog WordPressku dah bisa pake permalinks /%postname%/ lagi kayak dulu
.
Thanks ya Ndri, n buat teman2 lain yg pengen dapet support full gini dari layanan hostingnya, silahkan gunakan layanan share hosting dari RegMyHost *ikutan.promosi.itung2.tanda.terimakasih
*.
Related Entries:
Random Entries:
feel free to leave a comment
Comment Guidelines: Basic XHTML is allowed (a href, strong, em, code). All line breaks and paragraphs are automatically generated. Off-topic or inappropriate comments will be edited or deleted. Email addresses will never be published. Keep it PG-13 people!
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">
All fields marked with " * " are required.





































No comments as yet
ternyata di lxadmin sendiri ada option untuk wordpress permalink, tapi apa dan bagaimana effectnya, aku belum nyoba.
Wah pakai Lighttpd yah? Bagaimana rasanya? cerita cerita lah. Btw link RegMyHost-nya kok kosong gitu?
YoHangs last blog post..Inikah Demokrasi?
selama ini sih baik2 saja mas, masalah kecepatan ga gitu terasa, lebih banyak ke faktor internal blognya. cuma agak ribet aja karena ga punya file .htaccess