Flex最后一行左对齐

<% if (is_home()) { %>

<%= post.title %>

<% } else { %>

<%= post.title %>

<% } %>
<% if (post.excerpt && is_home()) { %> <%- post.excerpt %> <% } else { %> <%- post.content %> <% } %>

[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.

Replys:

  1. Ugoerymn

    generic levitra 20mg tablets


  1. Asherymn

    levitra generic


  1. Ugoerymn

    levitra generic


  1. Booerymn

    buy levitra online


  1. Wimerymn

    how to get levitra from india


  1. Booerymn

    levitra generic


  1. Asherymn

    levitra generic


  1. Wimerymn

    generic levitra 2018


  1. Ugoerymn

    generic levitra


  1. Ugoerymn

    generic levitra 2018


  1. Booerymn

    buy levitra pills online


  1. Wimerymn

    generic levitra online usa


  1. Asherymn

    generic levitra 2018


  1. Ugoerymn

    buy cheap generic levitra


  1. Wimerymn

    generic levitra tablets


  1. Asherymn

    levitra generic price


  1. SoaInfift

  1. Booerymn

    levitra prescription


  1. Saraalems

    phone 615-544-4522


  1. Sofiaalems

    phone 615-544-6674


  1. Asherymn

    generic levitra 2018


  1. Sofiaalems

    phone 615-544-8336


  1. Saraalems

    phone 615-544-8493


  1. Erinenews

    https://dumpsccshop.com


  1. Booerymn

    levitra tablet price in india


  1. Ameliapal

    https://dumpsccshop.com


  1. Asherymn

    generic levitra online usa


  1. Ugoerymn

    generic levitra us


  1. DonaldSix

    All about online trading of options and currency in the Forex market, the best Forex and Option brokers, effective trading strategies, tips for novice traders Forexof


  1. Ugoerymn

    buy levitra online


  1. Huntersmock

    https://dumpsccshop.com


  1. MollyDix

    https://dumpsccshop.com


  1. Booerymn

    levitra 75 mg


  1. Wimerymn

    levitra generic


  1. Camerontup

    https://tube8.site/blonde-hexe-spielt-mit-dildo-an-sich-herum-da03


  1. Gavinamoth

    https://xxxmoviecrawler.com/czech-teens-katy-rose-and-lexie-dona-84e4


  1. Booerymn

    brand levitra 20mg


  1. Robertspari

  1. Asherymn

    levitra generic


  1. Wimerymn

    generic levitra 2018


  1. Ugoerymn

    levitra generic


  1. Ugoerymn

    levitra generic


  1. Booerymn

    levitra generic


  1. Wimerymn

    generic levitra in canada


  1. Asherymn

    generic levitra online


  1. MichaelLof

    Best Blowjob morazzia picxxx.xyz Black Pornstar Usa Porn Sex Photo


  1. Michellesuike

    xxxx gang rap https://www.mcponline.org/cgi/adclick/?ad=1&adclick=true&url=https://www.xshaker.net/tube/wwwxxx2018-0.html


  1. LillianRiz

    nataliya star pornhd https://www.stocktonheathprimary.com/warrington/primary/stocktonheath/CookiePolicy.action?backto=https://xlxx.pro/bangmyfam.html


  1. LeahBiz

    nysrat fara xxx http://aribaba.com/media/js/netsoltrademark.php?d=www.redwap.me/to/czech-streets-18/


  1. MaryPence

    pron dokter perempuan http://zpgaming.prifast.com/media/js/netsoltrademark.php?d=rajwap.xyz/porn/doctor-sex-nurse-in-the-hospital/


  1. Madelineclilk

    denise milni redwap https://www.google.mv/url?sa=t&source=web&rct=j&url=https://www.pornfactory.info/mom-change-dress-infront-son.html


  1. Kimberlyfrulk

    xxx bidio downlod http://www.amateurtube7.com/scj/cgi/out.php?url=https://popsexy.net/too/newcutecouple-from-chaturbate-in-their-backyard/&link=images/90x4x229863


  1. Angelinabloox

    chaina xx movie http://www.google.mu/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&ved=0cdiqfjad&url=https://pinkpix.net/top/abg-bugil-ngenyit.html&ei=fvdiulylh-asb5mngcge&usg=afqjcngx


  1. Katelynlon

    hd xxxhii koilet http://reservesouthpadreisland.com/media/js/netsoltrademark.php?d=liebelib.net/www-xxx2050-com.html


  1. RileyPsype

    bokep montok gendut http://decomaniacos.com/media/js/netsoltrademark.php?d=kompoz.me/find/telugu-anchor-anasuya-sex-images-without-dress-comundefined/


  1. JacobVak

    Pornstar Voyeur Hot Celebrities Teen Sex Busty Babes girlfriend naked Nude Men


  1. IreaCauct

    kolkata x vedo http://medrxdirect.com/media/js/netsoltrademark.php?d=chineseporntrends.com/292831-anal_hd_bruce_has_been_married_for_35_years_and_now_he_thinks_it_is/


  1. JennaTex

    big english sex https://tpb.crushus.com/cheatingporntrends.com/movs/shkkella-porny


  1. Stephaniecic

    boobas saxay videos https://xxxpornoficken.com/wp-content/plugins/AND-AntiBounce/redirector.php?url=https://castingporntrends.com/movie/799438/bigbooty-casting-teen-gets-hardfucked.html


  1. ZoeTak

    baba balak xxx http://www.americanselfstorage.net/media/js/netsoltrademark.php?d=brunetteporntrends.com/tube/no-cut-amateure-40/


  1. FaithWrolf

    kajal xxx ved0 http://thetemasekreport.com/media/js/netsoltrademark.php?d=www.borwap.pro/mfc-jajjangmelon.html


  1. Lilyarrig

    most sex videos http://bishoplaw.com/media/js/netsoltrademark.php?d=www.bombstat.com/domain/mykart99.com


  1. PaigeHOB

    xxxx con hd http://mrnewman.com/media/js/netsoltrademark.php?d=blowjobporntrends.com/lital+boy+fucking+mother


  1. KayleeErype

    mawalas sex fuck http://tteryel.com/media/js/netsoltrademark.php?d=blondeporntrends.com/277996-blonde+babe+gets+oiled+up+for+a+massage+and+for+se.html


  1. KyliebuS

    sunileon sex porn http://tracking.embluejet.com/Mod_Campaigns/tracking.asp?idem=2521931&em=secosebastian@yahoo.com.ar&ca=73825&ci=0&me=80777&of=860522&adirecta=0&url=https://blackporntrends.com/too/179535/slave+caroline+pierces+cage+bondage+and+lesbian+bd/


  1. Trinitykaw

    wendy sexy girl http://my.globoxhost.com/aff.php?aff=578&finaldestination=https://bigtitsporntrends.com/to/438976-big_ass_babe_has_hardcore_dick_riding_session_with_pleasure


  1. MakaylaVic

    sweet burnett xxx http://swissaviator.net/media/js/netsoltrademark.php?d=bigassporntrends.com/tube/240455/adorable_brunette_gets_her_ass_stuffed.html


  1. Nicoleker

    home sex blackmalxxx http://bq--3bxjyunqs6fq.org/media/js/netsoltrademark.php?d=bdsmporntrends.com/138631-slutty_babe_turns_crazy_from_a_vehement_hammering/


  1. Mariator

    xxx video bij http://cashmojoreview.com/media/js/netsoltrademark.php?d=asianporntrends.com/porn/272104-extreme-shower-sex-delights


  1. Brookeagich

    xxx sekes video http://tqp.justsoftballs.com/media/js/netsoltrademark.php?d=anybunny.tv/search/jennifer-lawrence-cum-tribute-02.html


  1. MackenzieSyday

    bp sexy bhejo http://rindge.org/media/js/netsoltrademark.php?d=analporntrends.com/porn/ava-addams-vs-her.html


  1. Haleydes

    six voies brother.sister http://tur.cz/pekneprazdniny/modules/babel/redirect.php?newlang=en_US&newurl=https://amateurporntrends.com/video/278000/amateur-asian-babe-in-xxx-massage-porn-video/


  1. SavannahFierm

    hd adult xxxxxx http://www.scoopoo.com/redir.php?id=https://2beeg.mobi/video/313321/perverse-teen-fist-fucked-by-eight-men.html


  1. CarolineVak

    xxx photo gay pics Xxx Porno hairy pussy Big Booty Best Pornstar Italian Porn


  1. JuanPsymn

    Sucking Huge Dick Asian Girlfriend Japanese Porn Asian Porn Arabian Porn Russian Porn teen threesome


  1. Michaelzed

    sildenafil marley drug


  1. Charleserymn

    walgreens coupon sildenafil


  1. Charleserymn

    tax dollars viagra


  1. Charleserymn

    levitra samples from manufacturer


  1. Michaelzed

    probenecid vs allopurinol


  1. Charleserymn

    [url=http://metformin0l1.com]metformin extended release vs immediate release [/url]


  1. GavinPsymn

    Teen Sex Wife Swapping Porn Pics nude male sexy photos Milf Asian Nude


  1. Charleserymn

    vardenafil hcl vs. viagra pricing


  1. Charleserymn

    safe generic viagra sites


  1. Michaelzed

    buy propecia


  1. KennethTon

    www.xenical0l1.com sildenafil an 351


  1. AndrewEvels

    Exhibitionist Hot Girls Brazilian Porn Busty Babe Girlfriend Selfie Best Pornstar nude women pictures


  1. Charleserymn

    viagra pill number


  1. Charleserymn

    sildenafil nexo 50 mg


  1. Charleserymn

    cheap advair


  1. Michaelzed

    generic prozac


  1. Stewartmog

    http://www.tadalafild9z.com


  1. Charleserymn

    sildenafil actavis 50 mg wirkung


  1. Charleserymn

    cialis online best place buy 2017


  1. Charleserymn

    20 mg tadalafil


  1. MackenzieEvels

    free sex pics Porn Pics Free Handjob Wife Swapping Amateur Girl Porn Sexy Photos Beeg Porn


  1. Michaelzed

    www.zithromax0l1.com


  1. Charleserymn

    cheap advair


  1. Charleserymn

    levitra cost online


  1. Charleserymn

    www.erythromycin.us.com


  1. Michaelzed

    is metformin a blood thinner


  1. Charleserymn

    cvs pharmacy cost of cialis


  1. Michaelzed

    buy cialis london


  1. Stewartmog

    http://www.sildenafild9z.com


  1. Charleserymn

    husband viagra erection


  1. Michaelzed

    buy viagra allopurinol and back pain


  1. Michaelzed

    metformin


  1. Charleserymn

    allopurinol uses and side effects


  1. Charleserymn

    cheap suhagra


  1. Charleserymn

    buy crestor


  1. Michaelzed

    cialis


  1. Charleserymn

    http://buypropecia.us.com


  1. Charleserymn

    vardenafil free samples


  1. Michaelzed

    generic cialis


  1. Charleserymn

    can allopurinol counteract colchicine


  1. Robertspari

    source

    http://jenilee.ar.access.ly http://elsinore.ar.access.ly http://reiko.ar.ddns.me http://prudi.ar.zapto.org http://tammy.ar.ddns.me


  1. Charleserymn

    tadalafil 20 mg from india reviews


  1. Michaelzed

    buy zithromax viagra m3chanism


  1. Michaelzed

    cheap cialis


  1. Charleserymn

    http://www.suhagra.us.com


  1. Charleserymn

    vardenafil buy online


  1. Charleserymn

    what is zithromax 200 mg used for?


  1. Charleserymn

    http://stromectol.us.com


  1. KennethTon

    generic sildenafil cialis cartoons


  1. Michaelzed

    tadalafil tadalafil vs sildenifil


  1. Michaelzed

    vicodin and cialis


Leave a Reply

Your email address will not be published. Required fields are marked *