I'm going to guess that you already have rewriting rules for URLs like http://www.example.net/content/index/mission
You need to find these rules and add a new one that uses a similar structure, but the βhard codesβ of the parts of the content / index, for example, suppose that the existing one was
RewriteRule ^content/(.*)/(.*)$ /content.php?param1=$1¶m2=$2 [L,qsa]
You want to create a new rule to pick up / complete the task and rewrite it in a similar way, but before the existing rule is executed, for example
RewriteRule ^mission$ /content.php?param1=index¶m2=mission [L,qsa] RewriteRule ^content/(.*)/(.*)$ /content.php?param1=$1¶m2=$2 [L,qsa]
These are just examples - it will really depend on your existing rules.
source share