i want to add pagination for htaccess with like this. so i put examples. bottom has my htaccess code. so how to fix it to like this. help me to this post. thanks.
example.com/calendar/2014/page/2 <- example.com/calendar/load.php?year=2014&page=2
example.com/calendar/2014/4/page/2 <- example.com/calendar/load.php?year=2014&month=4&page=2
example.com/calendar/2014/4/27/page/2 <- example.com/calendar/load.php?year=2014&month=4&date=27&page=2
here my htaccess code
/calendar/.htaccess
Options +FollowSymLinks
RewriteEngine On
RewriteBase /calendar/
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,NE,L]
RewriteRule ^([0-9]+)/?$ load.php?year=$1 [L,QSA]
RewriteRule ^([0-9]+)/([0-9]+)/?$ load.php?year=$1&month=$2 [L,QSA]
RewriteRule ^([0-9]+)/([0-9]+)/([0-9]+)/?$ load.php?year=$1&month=$2&date=$3 [L,QSA]
You can use: