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
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
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
the url to the user is still /Login, its just that when they go to it
they are redirected to /Login.n
in your robots.txt if you want to reference the page use /Login - this
is the url the robot has to hit to get to /Login.n
also when the user tweaks the n they should simply get a new
instance
WicketApplication.mountBookmarkablePage(String path, ClassT page)?
/Per
On Mon, Aug 9, 2010 at 5:42 PM, Sefa Irken sefair...@gmail.com wrote:
Thank you everyone, that works.
But a bit of curiosity, is there a wicket or servlet way? More clearly, how
can a singe file mounted to a single url ?
Thank you everyone, that works.
But a bit of curiosity, is there a wicket or servlet way? More clearly, how
can a singe file mounted to a single url ? like /bob/static.html.
This is a ridicilous question, I am pretty new to web and servlet world
(coming from desktop java). I couldn't figure out, how to serve my
robots.txt under www.site.com/robots.txt. How can I do that in Wicket ?
Hi!
You can insert static stuff in webapp/. directory.
**
Martin
2010/8/8 Sefa Irken sefair...@gmail.com:
This is a ridicilous question, I am pretty new to web and servlet world
(coming from desktop java). I couldn't figure out, how to serve my
robots.txt under www.site.com/robots.txt. How
pretty new to web and servlet world
(coming from desktop java). I couldn't figure out, how to serve my
robots.txt under www.site.com/robots.txt. How can I do that in Wicket ?
-
To unsubscribe, e-mail: users-unsubscr
Sefa Irken sefair...@gmail.com:
This is a ridicilous question, I am pretty new to web and servlet world
(coming from desktop java). I couldn't figure out, how to serve my
robots.txt under www.site.com/robots.txt. How can I do that in Wicket
my bad - let me clarify:
if robots.txt is being stored in appserver's webapp directory, then yes,
that'll work regardless app's context path. If it's being packaged with the
webapp - and is part of, say, a mvn project, it can be stored in
{project}/src/main/webapp. However, the webapp should
11 matches
Mail list logo