Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-19, 09:35:52

Author Topic: Permalnk di wordpress  (Read 6568 times)

0 Members and 1 Guest are viewing this topic.

Offline nusapenida

  • Junior Member
  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
    • http://www.sukandia.com
Permalnk di wordpress
« on: 2013-01-21, 17:14:48 »
ini mungkin bisa dicoba bagi yang ingin mengaktifkan permalink di wordpress.
kalau kita memilih menggunakan "nginx" pada webservernya di pilihan permalink WP strukturnya spt berikut:

* default: http: //www.lembongan.asia/?p=123
dst...
* Post name: http: //www.lembongan.asia/index.php/sample-post/
pilih Custom Structure : http: //www.lembongan.asia/%postname%/
-----------------
terus edit  /etc/nginx/conf.d/virtual.conf
dengan ketik: nano /etc/nginx/conf.d/virtual.conf

jika belum ada nano, silahkan install dulu:
yum install nano

masukkan kode berikut di virtual.conf:

Code: [Select]
location / {
    index index.php index.html index.htm;
    try_files $uri $uri/ /index.php?$args;
}
lalu save dengan tekan ctr+o enter dan keluar dengan ctr+x kemudian reload nginx:
nginx -s reload

Jika blog WP ada di sub direktori spt: /blog tambahkan lagi kode berikut di virtual.conf:

Code: [Select]
location /blog/ {
    try_files $uri $uri/ /blog/index.php?$args;
}


Selamat mencoba!
sumber:  nginxlibrary.com/wordpress-permalinks/
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Permalnk di wordpress
« Reply #1 on: 2013-01-21, 17:25:46 »
di Kloxo-MR kan sudah diimplementasikan.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline nusapenida

  • Junior Member
  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
    • http://www.sukandia.com
Re: Permalnk di wordpress
« Reply #2 on: 2013-01-21, 17:50:37 »
ooh begitu yah, belum tau soale   :mrgreen:
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Permalnk di wordpress
« Reply #3 on: 2013-01-21, 18:14:33 »
Ya tidak apa-apa.

Setidaknya jadi tahu jika Kloxo-MR sudah implementasikan itu dan tahu apa yang diimplementasikan.

Rahasia permalink di Nginx memang cuma:
Code: [Select]
location / {
    index index.php index.html index.htm;
    try_files $uri $uri/ /index.php?$args;
}
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.038 seconds with 18 queries.

web stats analysis