First off, I'd just like to say that I know there are a lot of mod_rewrite() questions posted on these forums, so if there is a topic that answers my question below, feel free to direct me there
Basically, I have a link that looks like this: http://programming.ghettointeractions.com/?page=php and a link that looks like this: http://programming.ghettointeractions.c ... torial=one
I am attempting to make my site more search-engine friendly, and I heard that mod-rewrite was the way to go. I've looked up a few tutorials but, frankly, I find them a bit confusing (or useless)...how would I change the above URLs to something in the form of: http://programming.ghettointeractions.c ... al/one.php (or something to that effect)?
Any help is appreciated
-wyrmmage
Last edited by wyrmmage on Fri Nov 10, 2006 12:37 pm, edited 1 time in total.
All major search engine now know how to navigate, cache and display pages like page.php?id=2. Now mod_rewrite it' s used for a n easier navigation. Basically will have to make a regular expression off the name of the page, the id in question and the name of the item indicated by the id which you' ll put in .htaccess file and create a small function to deal with that regex.
Search for mod_rewrite tutorial on Google, Yahoo and read them and return with questions.