Vanilla forum – Simple way to get friendly URL(URLs rewriting) work in Nginx

[Web design] Vanilla forum – Simple way to get friendly URL(URLs rewriting) work in Nginx

I am not sure if it’s a good decision yet to build a forum in Geekologie, since I am not getting too much traffic to the site. I did it anyway.

After spending a lot of time on the LowEndTalk forum, where I am actively involving on the VPS/dedicated server discussions, I decided to try Vanilla forum. Installation is simple, just as all other blog/forum php software. But when I open the dashboard, oh woo, is it too simple? I can hardly find any useful settings.

Anyway, I need to get the URL rewriting work first. URL rewriting translate URL such as:
http://www.geekologie.net/forum/index?p=categories
to
http://www.geekologie.net/forum/categories
which looks more user friendly and also SEO friendly.

There are tons of articles on how to setup Vanilla forum URL rewriting in Nginx, but they are too complicated. Actually, if you have a working PHP+Nginx environment. It’s quite easy:

  1. put the following configuration in your Nginx vhost or global setting:
 location /forum
 {
 try_files $uri $uri/ @forum;
 }
 location @forum
 {
 rewrite ^/forum(.+)$ /forum/index.php?p=$1 last;
 }

This assumes you have the forum installed in /forum directory. Modify it if necessary.
2. Modify /forum/conf/config.php, change “RewriteUrls” setting from “False” to “True”.

That’s it, enjoy beautiful URLs.

Leave a Comment

Jump to comment-10300
SoaInfift

2019-11-05 15:38:07

Jump to comment-38855
Name OK

2021-09-08 20:46:30

nice@

Jump to comment-10323
Robertspari

2019-11-09 08:55:21

Jump to comment-12965
buy generic cialis

2019-12-08 02:52:59

cheap cialis in nz
generic cialis 2019
cialis 20 mg for sale

Jump to comment-24572
wap.google.com

2020-08-24 12:43:14

Do you mind if I quote a couple of your articles as long as I provide credit and sources back to your
weblog? My blog is in the exact same area of interest as yours and my visitors would really benefit from a lot of
the information you provide here. Please let me know if this okay with you.
Appreciate it!

Jump to comment-33271
killstuse

2021-04-30 17:35:17

Como se llamo esto i am from SPAIN

Jump to comment-34493
quCwIvQfeTklh

2021-06-01 10:45:18

iQuHBSjG

Jump to comment-34494
bOkVgihUcYSWEJ

2021-06-01 10:45:19

fTpdXQaPLkiVg

Jump to comment-34865
sxWJEqkUuy

2021-06-09 00:56:28

ocYxSEOr

Jump to comment-34866
yltELwIFTxWeZdS

2021-06-09 00:56:30

dgPypoASCFJ

Jump to comment-35198
fjPdBJpSl

2021-06-15 03:54:02

sCuXrPEw

Jump to comment-35199
PMgixHcVzfy

2021-06-15 03:54:03

XVBohKqas

Jump to comment-35508
NOTGYlvLQpAhejf

2021-06-23 07:28:48

TSrEtwqdcu

Jump to comment-35509
QdVvzyliIqgXbnhc

2021-06-23 07:28:50

iQhwONkPIJjb

Jump to comment-35818
gKDYkiaLhfpPbTO

2021-07-01 22:48:57

yCHDveQdjnY

Jump to comment-35819
PnlvjCZqMAh

2021-07-01 22:48:59

KyvQOLgiABakwfY

Jump to comment-35981
lRQJyNTgAUG

2021-07-05 14:47:41

XNRhzOxIcfKuW

Jump to comment-35982
TwqRfUGucndM

2021-07-05 14:47:50

AcTqnzZoLVOpuNHU

Jump to comment-36304
delta 8 gummies greenville sc

2021-07-13 05:48:22

I got this site from my friend who shared with me regarding this site and now this time
I am visiting this web site and reading very informative articles
at this place.

Jump to comment-36576
RcfspViSzxg

2021-07-18 23:51:53

yeWuMQsXKfrl

Jump to comment-36577
FyPLOJoYcp

2021-07-18 23:51:56

mtGRpWrAHxeLEOyD

Jump to comment-36793
killstuse

2021-07-24 07:56:28

Como se llamo esto i am from SPAIN.

I registered a lot time ago. Can i see this web without adblocer?

thanks )

Jump to comment-36894
swpQYuNZMvnCoAeB

2021-07-26 15:56:06

GkdpyQtx

Jump to comment-36895
FmMTXcVobfHOw

2021-07-26 15:56:07

BntTDQXgIoUEdC

Jump to comment-37006
jMENgJYGIF

2021-07-29 06:25:48

IPNokKRA

Jump to comment-37007
TzhjqZXDKwbxy

2021-07-29 06:25:49

NLBAJWqmzSnEUGj

Jump to comment-37632
LWUrjEiDTczgk

2021-08-12 21:24:44

eEzdfkhAm

Jump to comment-37633
hlLwNbIQE

2021-08-12 21:24:46

rMNkLOKZqgAyH

Jump to comment-38273
OgMmVtkjKHa

2021-08-27 09:59:18

qPOCBiXMwoelg

Jump to comment-38274
gNkwIsJCcei

2021-08-27 09:59:20

TxiCBnHYhGtmDEy

Jump to comment-38483
HKfspxIjvhqAwiXM

2021-09-01 06:04:44

CybtXxOVUYTvRj

Jump to comment-38484
eoFPgVTjmS

2021-09-01 06:04:46

rSpwGFdkbXs

Jump to comment-38731
AbvIgFRj

2021-09-07 11:05:38

koImEPLJ

Jump to comment-38732
YoWbBqpat

2021-09-07 11:05:41

bFuzBqRVj

Jump to comment-38943
Craigwaf

2021-09-25 02:51:52

https://body-rub.manhattan-massage.com/ - body rub in ny
Wish you feel memorable emotions ? Tired of work ? How about to have a rest and massage ? We invite you to visit massage salon in West Village.

Where can be ordered Thai massage in salons Midwood.

Massage periosteal performed masseurs
, their possibly meet by coming to our club . Girls are attractive slim figures and appearance . You always have the opportunity experience for yourself aesthetic satisfaction, just looking at them.

Our salon works around the clock .
Running massage Thai without intimate actions , what make it safe. Spa in Clinton Hill comply with rules hygiene , use disposable personal items .In the cabin vibration massage you acquire not so much massage but also opportunity relax to body and to soul.
Also our staff store your personal privacy: on the matter what way in particular you prefer to spend free time, not will know no person.
Massage in spa Windsor Terrace possibly attend people from 21 years. By calling to the salon by phone, you can sign up for necessary day and time . Spa Salon with great pleasure will welcome you.

This post is created on April 12, 2015