Posts Tagged ‘url’

mengubah htaccess pada webserver di localhost

Enabling mod_rewrite and .htaccess di XAMPP pada Windows XP

By default, XAMPP did not enabled mod_rewrite and .htaccess. When you access your web that require mod_rewrite and place .htacces file inside the document root, you’ll get error page like in the screen shot below:

Follow these simple step to enable mod_rewrite and .htaccess using XAMPP under Windows:

  1. Open your httpd.conf file, usually placed in C:\xampp\apache\conf
  2. Find #LoadModule rewrite_module modules/mod_rewrite.so line and remove the # mark
  3. Replace all AllowOverride None instances into AllowOverride All
  4. Restart Apache service
  5. Check if the mod_rewrite module is loaded correctly using XAMPP phpinfo. See the screen shot:

Tips:
You can’t easily create .htaccess file using Windows Explorer. You can use these tricks:

  • create htaccess.txt using Windows Explorer, put all your rules there
  • open command prompt by Start-> Run ->cmd
  • enter the document root where htaccess.txt file reside
  • rename it into .htaccess using command below

ren htaccess.txt .htaccess

Pada Appserv

Getting .htaccess files to work on AppServ (Windows version) a lot of peoples computers doesn’t seem to work, I myself am one of those people, so I fiddled around the other day and got it working – so hopefully if you follow this tutorial you’ll understand how to get it to work and it should work for you.

First of all if you locate your Apache folder (within your AppServ folder, usually installed directly on your C drive) and go into a folder called “conf”, then open the file called “httpd.conf”.

Find:

#LoadModule rewrite_module modules/mod_rewrite.so

Replace:

LoadModule rewrite_module modules/mod_rewrite.so

Removing the ‘#’ (hash) symbol will enable the rewrite module. (Note: Some configurations are already loaded, if so ignore it)

Find:

AccessFileName .htaccess

Replace:

AccessFileName my.htaccess

Changing this from .htaccess to my.htaccess means that your .htaccess files will have to be called “my.htaccess” (However when you upload them to a real web server online then you’ll need to rename them back to .htaccess)

Now restart your Apache server (This can be done by going into the Apache folder, then into the “bin” folder and running the program “ApacheMonitor.exe”, opening it from the system tray and clicking “Restart”)

Daftar Pagerank 3 dan 4

Akhir nya setelah menjelajah ke berbagai blogger..dengan susah payah, menunggu berhari-hari berminggu-minggu hehehe (lebay mode on) ketemu juga page rank yang tinggi beneer ^_^

berikut adalah list – list nya..

http://ac-milan-indonesia.blogspot.com/
http://drifqi.blogspot.com
http://safru.blogspot.com
http://blog-gajelas-deh.blogspot.com/
http://soccer-xtreme.blogspot.com
http://www.surewi-seragam.com
http://teknologynews.blogspot.com
http://dedekurniadi.web.id
http://purwasuka.web.id/
http://inamuth2.blogspot.com/
http://sungaikuantan.com
http://www.frankgarsel.web.id/
http://www.sectoredwin.net/
http://raidavista.blogspot.com/
http://qorianiesme.blogspot.com/


UPDATE

http://adesyams.blogspot.com
http://tohircicomre.blogspot.com/
http://manchesterunitedindonesia.blogspot.com/
http://zaidlearn.blogspot.com/
http://kangboed.wordpress.com
http://ahsinmuslim.wordpress.com/
http://adiindie.blogspot.com/
http://just-fatamorgana.blogspot.com/
http://www.blogguebo.com/
http://pabriktea.blogspot.com/
http://jovieblog.blogspot.com/
http://endarfitrianto.blogspot.com/
http://dhuwuh.blogspot.com/
http://inicuma.blogspot.com/
http://antobilang.wordpress.com/
http://urip.wordpress.com/

yaahh lumayaan. buat nambah – nambah referensi kalian-kalian semua yang ingin blogwalking dan menaikkan page rank hehehehe…

alamat url wordpress menjadi bagus

permalink

Sorry neh kalau postingan ini sudah agak basi bagi master2 hehehhe..tapi setidaknya ada beberapa blog yang menggunakan wordpress tapi urlnya tampak kurang friendly. Masih ada kok yang url blognya kayak begini

http://ipangsan.web.id/

?p=123

Alangkah bagusnya kalau alamat url mencerminkan isi halaman url tersebut. Misal, kita lagi menulis tentang web hosting murah dan ok, maka alangkah indahnya kalau urlnya menjadi “http://ipangsan.web.id/web-hosting-murah.html" ketimbang "http://ipangsan.web.id/?p=765" ya bukan?

Lalu gimana caranya? gampang men..:lol: wordpress ntu emang udah sangat memanjakan penggunanya. WordPress sudah menyediakan fitur untuk mengedit permalink dengan mudah :) .  Caranya gampang kok, login ke wordpress admin area, terus cari menu “setting“.  Nah, nanti akan ketemu sama menu yang namanya “permalink“.  Kalau udah, di bagian common setting pilih opsi “Custome Structure“. Nah di bagian itulah kita mesti ngisi variable “%postname%“.

Apa itu “%postname%” ? “%postname%” itu gampangnya judul dari postingan blog kita, dengan mengisi “%postname%” pada “custome structure” nanti url halaman postingan blog akan mengambil dari judul postinganya :) . Nah…jangan lupa biar urlnya lebih ciamik :D kita tambahin extension, misal .html, .php, .ganteng juga bolehh hehehhehe…. Kalau saya, isian “Custome Structore“nya adalah “/%postname%.html” , efeknya bisa diliat di url postingan ini