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


Leave a Reply

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