I want to create a simple URL shorter which will do the following:
Where the code will be something like a476u (random string of letters and numbers). My only problem is reading the code from URL. I want all the requests to go to index.fpp where the URL will be read and the code will be received. But the URL that normally would have pointed the folder (where a476u is a folder).
How can I do a folder without having to enter a file instead of going to a file like this?
I like the Then, feel free to do this. .htaccess file ...
Rev. Rule ([a-zA-Z0- 9] {5}) index.php? Code = $ 1
Comments
Post a Comment