Tried both of your suggestions and I'm getting the same result as with other attempts...
For some reason, the "?" is not showing up, so I'm getting the file I want, but without the query results. If I manually add the "?" to the URL, the page loads fine.
If anyone wants to see the barebones functionality (I'm experimenting with it as I write this...) you can see the query by itself here:
Nothing posted thus far has worked, but after two cups of coffee and a bit of Saturday morning sunshine... as well as bouncing ideas off of my good Estonian friend... I got this to work. (Actually found it on a thread elsewhere.)
This is the entire contents of the .htaccess file:
Now it works like a charm.
Thanks Opifex for the efforts and help - you usually always nail it sooner or later, I just beat you to it this one time...
(Pure luck on my part!)
----------------------------------------------------------------------------------
Since I have found 100 other threads on this subject with no good answer, I'll try to put more information in here for posterity...
FANTASTIC!!!
I'd thought about QSA, but don't have any real experience using it (I get to see it in action now!). How did the final RewriteRule come out?
The register_globals flag shouldn't affect this (I think).
QSA = Query String Append
Whatever you put after the url is translated to a query string server side (?dogs-sweatshirts).
Thats why the new links that work are tank-tops.net/dogs-sweatshirts no need for the products folder emulation which I think is really a lot nicer for your site. You could add a search box that would just append whatever was entered to the base url.... hmm... "linux" returned a nice selection
... played a little and the query append MUST have 4 characters minimum and cannot accept an asterisk(*) or it returns a fail to open string warning... and a or slash(/) will call a folder of course. That can be sorted easily enough.
I have never played with QSA, but it is nice! I can think of a couple of places that this could come in handy. (One more proven tool in the arsenal!)
Oh, you can take out the "IfModule" tags if you want... that's only needed to avoid errors IF the module ISN'T installed.
SHHHHH..... That's one of my day jobs.... but looks like I'll have time to do more of my other work next semester due to budget cuts. Maybe I'll translate my syllabus and course materials to English.
Bookmarks