Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- urlrewrite and HTML forms


lucy24 - 11:56 pm on Dec 4, 2012 (gmt 0)


Are you sure this is an apache question and not a php question?

the resulting URL is then www.widgets.com/whitewidgets/medium?widgetone=blue&widgettwo=red

:: head spinning ::

OK, so the user starts out with a short pretty URL

www.widgets.com/whitewidgets/medium

representing the "real" location

www.widgets.com?widget=whitewidget&size=medium

(OK, quasi-real, because www.example.com is in turn short for www.example.com/index.php or similar)

but then as soon as they hit the form, a new query is visibly appended to the existing rewritten URL resulting in

www.widgets.com/whitewidgets/medium?widgetone=blue&widget2=red

Where does the old query go? Does your rewrite include a [QSA] flag so it will preserve all information, whether or not the search parameters are there yet?

I see three different rewrites there and it's making me dizzy.

:: looking vaguely around for g1smd or someone like him ::


Thread source:: http://www.webmasterworld.com/apache/4524949.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com