I have resolved + and %3A is for ":" deliminator that I am using to seperate two passed values. I am sending the values from index.php and the url is localhost/abc/index.php and some part of the code for index.php is as
I'm afraid I may have made things more confusing while trying to understand.
To be clear, please correct me if any of this is wrong.
There is PHP code that is generating what will be used as GET query strings. eg. the "some-name=some-value" part. htttp://example.com/some-folder/some-file.php?some-name=some-value
But you want HTTP Requests like http://example.com/some-folder/some-value to go to htttp://example.com/some-folder/some-file.php?some-name=some-value where "some-file.php" will use the GET "some-value" to determine what is output and displayed.
In this case "some-value" is an id and a name that look like folders in the browser address bar. eg. http://example.com/some-folder/id/name
If this is so, I think the "not a directory, not a file" lines are OK. What needs to be worked out is the rewriteRule that will match the HTTP Requests.
First rewrite rule to convert the get value url into proper way and second for hiding the extension(.php)
If i check manually with http://localhost/abc/package/1, my css,js,imgs does not load But the thing is that why i need to enter it manually, it should automatically convert to localhost/abc/package/1 by .htaccess
Now come to your reply: Frist point is correct some name means $_GET variable name that contains some-value htttp://example.com/some-file.php?some-name=some-value (somefilename = package.php, some-name = packagestring, some-value = 1)