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.. (Zatvorena) (Mono Support )

14684 put(a) pogledan, 2 odgovor(a) 19.10.2011. 19:47:11Kreirao(la) shawndg
shawndg

shawndg

19.10.2011. 19:47:11
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.
Ovaj sadržaj još nije ocijenjen. 
1871 Reputacija 252 Ukupno objava
shawndg

shawndg

19.10.2011. 20:12:12
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 / .
Ovaj sadržaj još nije ocijenjen. 
1871 Reputacija 252 Ukupno objava