|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
I was wondering is there a way I can use mod_rewrite module to translate URL's containing query strings into URL addresses that search engine spiders can follow, something like this:
instead of http://www.mysite.com/products.php?id=22343 you get a string like this: http://www.mysite.com/products.php/22343 I am hosting my site on a webhost that has a mod_rewrite module on, but doesn't allow me to change any configuration in httpd.conf file... so is there any way I can use .htaccess files to turn on whatever feature needs to be on? |
|
#2
|
|||
|
|||
|
Do a search in Apache forum under my username. I discussed this some time last year, it was the longest thread in Apache forum.
|
|
#3
|
|||
|
|||
|
I found it at http://forums.devshed.com/showthrea...9203&forumid=15, and it helped me get most of the stuff working the way I wanted, except few more details:
I have found that these lines work just fine for me: #################### DirectoryIndex index.php3 RewriteEngine on RewriteRule ^([A-Za-z0-9_]+)$ index.php3?letter=$1 RewriteRule ^download/([0-9]+)$ download.php3?number=$1 #################### But the problem is how do I use this rewrite condition with FORM querying the database (more specifically using the download.php3 as my FORM ACTION), so that the url doesn't show the actual download.php3, but just /download/3824 or whatever the number of the database entry is. Here, take a look, and let me know if you can help me out: http://www.coverz.com/audio/ |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > mod_rewrite (again?!) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|