Jun 13, 2017 08:23 AM
(This post was last modified: Jun 13, 2017 08:32 AM by Skidy.)
Attemped and failed at this.
I am trying to get: example.com/?from=STRAT&to=EUR&amount=3
To
example.com/STRAT/EUR/3
How an earth can I do this? Is this the wrong sub-forum?
What I have so far:
I am trying to get: example.com/?from=STRAT&to=EUR&amount=3
To
example.com/STRAT/EUR/3
How an earth can I do this? Is this the wrong sub-forum?
What I have so far:
Code
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)$ index.php?from=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)$ index.php?from=$1&to=$2&amount=$3 [L]


![[Image: vibesignature.gif]](https://i.ibb.co/8LvxwtYQ/vibesignature.gif)