• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to make my search page content availble from google search  RSS feed

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



I opened Google and typed Bharat Matrimony Address and pressed enter.
Google lists some links, I found yellow pages link (sulekha or whatever) and clicked on it.
The link displays a page containing values retrieved from database.

Suppose……….
The link appears to be something like this,
Eg1, http://mysite.com/products/drinks/vizag (Google creates this link and displays it)
This link is showing all contents in db matching with drinks and vizag.
When I try to retrieve the same directly from my website not from google the url generated looks like.,
Eg2, http://mysite.com/products.jsp?item=drinks&loc=vizag
How can my site help google to create a link like Eg1 in JAVA?
The same can be done in .Net by using a concept called URLRouting.
 
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJB forum is not the right place for this.

I guess this thread is more appropriate in "Java In General" or the "General Computing" forum. I'll move it to the "Java In General" forum for now.
 
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make search-engine friendly links.

This isn't JIG, either, since it has nothing to do with Java, and everything to do with URLs and whatever framework you're using.
 
Suresh Kumar Mutyala
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Newton wrote:Make search-engine friendly links.

This isn't JIG, either, since it has nothing to do with Java, and everything to do with URLs and whatever framework you're using.


Thanks David, but "Make search-engine friendly links" is not probably answer to my requirement. Actually I am developing a site that has a lot of postings in it, users can come to my site and search for their requirements. Since my site is not that popular and most of the people for any requirement search in google, so i want google to come to my site and search for the request of users in my site and place a link to my site in its search results.

And i already mentioned, to help this problem there is a concept called URLRouting for .NET developers which exactly fulfills my requirement but i couldn't find a solution for development in Java/Servlets/Struts or etc., So i need help to find out using which framework can sort my problem. Thank You.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How is that not making search-engine friendly links?!

Right now you have a JSp that accepts GET params (which, by the way, is a pretty suspicious practice--it's not a good idea to submit to a JSP). So switch it to a servlet mapped to /products/*. The servlet pulls apart the rest of the URL to get the "parameters", now embedded in the URL. That's a search-engine friendly link. How you expose those links to search engines is a different issue.
 
Suresh Kumar Mutyala
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Newton wrote:How is that not making search-engine friendly links?!

Right now you have a JSp that accepts GET params (which, by the way, is a pretty suspicious practice--it's not a good idea to submit to a JSP). So switch it to a servlet mapped to /products/*. The servlet pulls apart the rest of the URL to get the "parameters", now embedded in the URL. That's a search-engine friendly link. How you expose those links to search engines is a different issue.

Thanks David, I am trying it with Ruby on Rails, I shall let you know once i am done with it. Thanks a lot.
 
Suresh Kumar Mutyala
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Newton wrote:How is that not making search-engine friendly links?!

Right now you have a JSp that accepts GET params (which, by the way, is a pretty suspicious practice--it's not a good idea to submit to a JSP). So switch it to a servlet mapped to /products/*. The servlet pulls apart the rest of the URL to get the "parameters", now embedded in the URL. That's a search-engine friendly link. How you expose those links to search engines is a different issue.


Thanks David, my requirement can be satisfied by using the Struts 2.1.8 framework. Once i am done with it i shall let you know. Thanks a lot.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!