Main site of OMNILab at Shanghai Jiao Tong University.
- MySQL >= 5.0
- PHP >= 5.5
-
Install basic Web utilities including Web server, PHP, MySQL etc.
-
Clone this code repository into local web root folder, e.g.,
$ git clone --recursive git@github.com:OMNILab/omnilab.sjtu.edu.cn.git omnilab -
Create new WordPress configuration file and change database settings for your requirements:
$ cp wp-config-sample.php wp-config.php
-
Activate the
OmniParallaxtheme modified for our own site style. -
Active
Team Memberplugin. -
Create our pages: Frontpage, Team, Researches, Publications, Blogs, About etc.
-
Allocate the
FrontpageandPostpage inSettings -> Reading -> FrontPageDisplay. -
Configure the permalinks as "Day and name" for a friendly reading style. (NOTE: You have to enable the
rewrite_modulein apache2 and add "AllowOverride All" inhttpd.conf. See: How to enable rewrite_mod)
- Requested URL xxx (page) URL not found on this server.
Try flushing your mod_rewrite rules:
Dashboard -> Settings -> Permalinks. Save settings (no need to make any changes).