So using the HybridUrlCodingStrategy is correct and if users want to muck with the URL they can and they may just get an error? Then for the robots.txt I just say to block "XYZ" without the ".". For example I have a page called Login that is mounted with the HybridUrlCodingStrategy. So the url to the user is Login.1 or Login.7 depending on how many times they hit the page. In the robots.txt I just need to say to ignore the url of Login
Can I set the pagemap to only store N number of pages per session? I tried using: getSessionSettings().setMaxPageMaps(1) but what does this really do? Is it 1 page per session or 1 of each page per session. Thanks. -----Original Message----- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Tuesday, October 12, 2010 12:21 PM To: users@wicket.apache.org Subject: Re: robots.txt & wicket urls in your robots.txt put the url without the ., that way a new version of the page will get created. -igor On Tue, Oct 12, 2010 at 8:30 AM, Jeffrey Schneller <jeffrey.schnel...@envisa.com> wrote: > How can I add an entry to robots.txt for a page of my site that is not > currently mounted and cannot be made bookmarkable. The url is the > wicket url of "?wicket:interface". > > I guess I could say block everything that contains "?wicket:interface" > but that seems kind of brute force. > > > > I tried using IndexedHybridUrlCodingStrategy and HybridUrlCodingStrategy > to mount the page as a named page. This works but then if someone > changes the number after the "." in the url, they may request a page out > of the pagemap and an exception is thrown and we show our error page. > Is this the only way to do it? > > > > Thanks. > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org