Question #78737 on phpns changed:
Status: Open => Answered
alecwh proposed the following answer:
While I would like to make it simple for you, I cannot. I added that
feature to $phpns['sef'] because I was aware that you could achieve
something like what you want. I don't know very much about mod_rewrite,
so, do some research.
>From my understanding, there is something you can do with variables,
such as $1 and $2, which would represent different areas of the URL
given, and you can redirect to a script with those variables. Check
Phpns's recommended .htaccess (provided in the admin section under "SEF
URLs" in Preferences), and I'm sure that will give you an idea.
Your PHP script will look like this:
$phpns["sef"] = 'hardware/'
and then use a 'software/', etc. or whatever for your other includes.
You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.
Mailing list: https://launchpad.net/~phpns-team
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~phpns-team
More help : https://help.launchpad.net/ListHelp