Published using Google Docs
WampServer Apache mod rewrite Friendly URL
Updated automatically every 5 minutes

WampServer + Apache mod_rewrite: Friendly URL (subpage style)

1) PREPARATION

2) SETUP PROJECT

3) TEST WEBSITE

4) DOWNLOAD

5) REFERENCES

1) PREPARATION

1.1) Setup WampServer (http://php-steps.blogspot.com/2013/11/wampserver-download-setup-installation.html)

1.2) Enable Apache mod_rewrite (http://php-steps.blogspot.com/2013/11/wampserver-apache-modrewrite-simple-test.html)

2) SETUP PROJECT

2.1) Prepare the following file/folder structure to test mod_rewrite

{wamp_home}/www/test_rewrite_friendly/

                                       .htaccess

                                       index.php

                                       user.php

2.2) Edit codes as follows:

3) TEST WEBSITE

4) DOWNLOAD

Project Source Code (completed):

https://drive.google.com/file/d/0B86b-ALn-1MGcDFLWFY0ZXI0eVk/edit?usp=sharing 

5) REFERENCES

http://net.tutsplus.com/tutorials/other/a-deeper-look-at-mod_rewrite-for-apache/

http://www.dynamicdrive.com/forums/showthread.php?51923-Pretty-URLs-with-basic-mod_rewrite-and-powerful-options-in-PHP

http://stackoverflow.com/questions/19388706/rewrite-pretty-urls-with-php-and-htaccess-maping-404-for-subpages