Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
06-14-2008, 10:12 AM #1
- Join Date
- Apr 2004
- Thanked 5 Times in 5 Posts
Changing Link Variables to Directories
I've seen it dozens of times and I've attempted to google it but I think I'm having an issue finding its name. When you change a link's variables into directories, for example, changing show.php?id=40 to show/variables-40.php, what is this called? If you know of very good tutorials on how to do this, that too would help me immensely. I'm also apologizing for not putting this in the correct section. I couldn't decide if it was php, .htaccess, or just general web buidling, so I went with the general option . I basically want to create a custom site with game replays and tutorials on builds and such but without all the id=VARIABLE stuff. I want things set into custom links that do not change.
06-14-2008, 09:27 PM #2
- Join Date
- Jun 2008
- Redmond, WA
- Thanked 100 Times in 94 Posts
It's call MOD REWRITE for Apache. It's very difficult to learn if you don't already have a working knowledge of pregex.
Here's a few links to get you started:
http://www.easymodrewrite.com/Unless otherwise stated, any code posted is most likely untested and may contain syntax errors.
My posts, comments, code, and suggestions reflect only my personal views.
Web Portfolio and Code Snippets: http://shanechism.com