![]() |
.htaccess mod_rewrite Question
Is it possible to use mod_rewrite to change the url from something like this...
domain.com/blah.php?id=45 To the following: domain.com/blah/keyword/ If the data that I want to have in the new URL is only included in the page using calls to an SQL database and each page is dynamic? |
Yeah it's possible.
Here's some good info to learn: https://www.smashingmagazine.com/201...url-rewriting/ |
Short answer is yes.
domain.com/blah/keyword/ is just a nicer looking alias for something like domain.com/?dir=blah&id=keyword Search pretty urls. |
Thanks guys :)
|
All times are GMT -7. The time now is 08:06 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc