WildCard URL strategy for E-Commerce Products

2014-03-15 Thread Arjun Dhar
Hi,
for the sake of SEO. It is recommended that URL path params for a product
look like:

Example --
/../Category1/SubCategory2/SubSubCategory2/productDetails?name=SHOE123


Now, one stupid way of doing this could be to load every product in the
database by generating the link to it. However I feel thats too inefficient.

I'd simply like to define a Strategy /*/productDetails?name=SHOE123
... Where Wicket would not care what came before productDetails and
recognizes productDetails as the Page. The PATH PARAMS are merely a SEO
formality and not of consequence to the final Page loading.

Do I write my own strategy for this stuff or is there something Out of the
Box?

thanks

-
Software documentation is like sex: when it is good, it is very, very good; and 
when it is bad, it is still better than nothing!
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/WildCard-URL-strategy-for-E-Commerce-Products-tp4664984.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: WildCard URL strategy for E-Commerce Products

2014-03-15 Thread Nick Pratt
Mount your product details page and then use PagePatameters to extract the
query params.

N
On Mar 15, 2014 10:44 AM, Arjun Dhar dhar...@yahoo.com wrote:

 Hi,
 for the sake of SEO. It is recommended that URL path params for a product
 look like:

 Example --
 /../Category1/SubCategory2/SubSubCategory2/productDetails?name=SHOE123


 Now, one stupid way of doing this could be to load every product in the
 database by generating the link to it. However I feel thats too
 inefficient.

 I'd simply like to define a Strategy /*/productDetails?name=SHOE123
 ... Where Wicket would not care what came before productDetails and
 recognizes productDetails as the Page. The PATH PARAMS are merely a SEO
 formality and not of consequence to the final Page loading.

 Do I write my own strategy for this stuff or is there something Out of the
 Box?

 thanks

 -
 Software documentation is like sex: when it is good, it is very, very
 good; and when it is bad, it is still better than nothing!
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/WildCard-URL-strategy-for-E-Commerce-Products-tp4664984.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: WildCard URL strategy for E-Commerce Products

2014-03-15 Thread Arjun Dhar
:) The question isn't about Page Params

A mount needs a Mouth path  thats what the question is...
How do you mount a path where a certain part of it can be anything (not
significant) ?

Explicitly loading mouth paths for EACH product (as a separate product
page) would not be wise in my opinion.


-
Software documentation is like sex: when it is good, it is very, very good; and 
when it is bad, it is still better than nothing!
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/WildCard-URL-strategy-for-E-Commerce-Products-tp4664984p4664987.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org