Hello,
I know this isn't a "script" per se, but perhaps close enough?
I am looking for someone who can help me modify my WordPress .htaccess file and customize the mod_rewrite code to allow for more complex URLs and passing variables to php while keeping normal WordPress functionality.
Something like this:
http://mydomain.com/hello-world
(would work like WP does by default with pretty permalinks enabled)
http://mydomain.com/varA/hello-world
(would trick WP into displaying the same "hello-world" post as above, but also would pass the "varA" string to PHP as a variable)
http://mydomain.com/varA/varB/hello-world
(would again trick WP into displaying the same "hello-world" post as above, but also would pass the "varA" and "varB" strings to PHP as variables)
to further clarify, the mod_rewrite code would be outputting something like this:
index.php?varA=$1&varB=$2
in which case I could easily grab those variables in php using:
$a = $_GET['varA'];
$b = $_GET['varB'];
Let me know if you think you can achieve this!
Thanks,
Devin