从.htaccess中的网址中删除“&title”

I'm trying to create shorter urls to some of my pages.

Previously I had a system that URLs were like /index.php?m=page&title=Page-Title

The piece of code I have now allows me to remove the everything 'm=' part. /index.php?m=page in here, the 'page' is a name of different modules, so this part might still change. I want to change the url only from 'page'.

How would I rewrite this so that my URL would be composed only as such:

/page=Page-Title

Would that be even possible since I'm using $_GET in 2 places?

My current .htaccess file:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/?p=$1 [L]

You can have your rules like this:

RewriteEngine On

RewriteRule ^page=([^/]+)/?$ /index.php?p=page&t=$1 [L,QSA,NC]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/?p=$1 [L,QSA]