MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Search - Url Problem.. (Closed) (Mono Support )

Viewed 9335 time(s), 2 post(s) 10/19/2011 7:47:11 PMby shawndg
shawndg

shawndg

10/19/2011 7:47:11 PM
Trying to change the url from..

http://localhost/search/test/

to

http://localhost/pages/search/test/

I set up the url rewrites but my search widget is still wanting to use the old path..
http://localhost/search/test/

Now if i navigate right too
http://localhost/pages/search/test/
It works but the widget is pointing to the old location.
This content has not been rated yet. 
1871 Reputation 252 Total posts
shawndg

shawndg

10/19/2011 8:12:12 PM
You can close it..

Was set bad in the url rewrite path.. fixed it..

<rewrite url="^(.*)/pages/search/(.*)/(\?(.+))?$" to="$1/MonoX/Pages/MonoX/SearchResults.aspx?srchq=$2&amp;$4" name="SiteSearch" urlPattern="/Pages/search/{Query}/" />

I forgot the / .
This content has not been rated yet. 
1871 Reputation 252 Total posts