Getting values in php while using .htaccess RewriteEngine Rule
I am using the following rule
RewriteEngine On
RewriteRule ^([^/]*)$ page.php?title=$1 [L]
It means it will create a page like view
(i.e.,)
www.mywebsite.com/contact
www.mywebsite.com/blog
But how can i get values that is passed in the url and display it inside the page using Get method echo "Page content is ".$_GET['title'];
While i pass the value in the url like www.mywebsite.com/view,
It is just displaying > Page content is page.php
What mistake i am doing and how can i fix this ?