last day (15 days later) » 

19:48
2
A: ASP.NET MVC Specify Category/Path outside of URL Routing

Mikaal AnwarI suspect this isn’t a routing problem, rather an architectural issue. I think that the “language code” and “category” should be an attribute of the Book object, rather than being a part of the route. You would then have URLs like: {domain}/{controller}/book/id And for “category” specific or “...

I Don't want to have URL in form of "?param=value&..." you can look at great websites and you will see language codes is part of URL like "/en/..." because of some content may exist in one language and didn't exist in another, So having language code in URL is logical, But about categories you may navigate to special product from different categories, The product is unique but category! I need to know category without having in URL.
If you want to avoid having anything in the URL you can do a POST request instead of GET, that way they wouldn’t show up in the URL.
If you want to keep track of the category without having to store it in the URL, you can: 1) Pass it along as a request parameter (in a POST or GET request, depending on whether or not you want it showing up in the URL). 2) Pass it along using the ViewBag. If you want to persist that for a longer period, you can add it to the session, but you’ll also have to make sure you update that whenever a category is switched. And reading from you question above, I would suggest you to store just the “categoryName/categoryId” in the “Session” / “ViewBag” / “Request Parameter” instead of a “Path”.
Please read the question again, I know about this ways, But I don't know which way is most logical and "Search Engine Friendly"! I described in question what issues and concerns exist on using any of these.
Based on my knowledge “How you persist ‘category’ at your server?” is going to have no implications on SEO / Search Friendliness of your webpages, because search engines are agnostic of your server internals. And from a technical standpoint, which approaches to follow depends entirely on you, if you don’t need to persist ‘category’ for a longer period than “ViewBag” might be a good, simple solution. Otherwise, session would be fine too.
However, what is going to have a slight impact on SEO is the URL itself that you end up creating because eventually the webpage(s) these URLs represent will end up being indexed somewhere against some search query.
A good rule of thumb as per REST guidelines would be to have one unique URI for each resource. If you have multiple URIs representing the same resource, than you might probably end up reducing SEO as rather then have a singe heavily visited page, you’d have two slightly less visited pages. And I think former is the better. Beyond that I do not know of how it might have an impact on SEO.
Think you shared URL for a special product in for example Facebook and you have a category in that URL, After while, you delete this category but the product, Now that URL won't work because of the category not exist, This is a simple example to understand my sight.
19:48
Ahhh I see. That’s quite an interesting perspective. Perhaps stackoverflow.com/questions/9546635/… might shed some more light on it.
"rather then have a singe heavily visited page, you’d have two slightly less visited pages" <-- I don't want this, A target product is unique so URL to that must be unique too.
Do give this a read https://moz.com/blog/15-seo-best-practices-for-structuring-urls
Point # 4 is very relevant to your query.
This article stackoverflow.com/questions/9546635/… not certain about my question, I want to remove category Id/Name from URL and accessing that from another source.
In this article:
#4: Multiple URLs serving the same content? Canonicalize 'em!
If you have two URLs that serve very similar content, consider canonicalizing them, using either a 301 redirect (if there's no real reason to maintain the duplicate) or a rel=canonical (if you want to maintain slightly different versions for some visitors, e.g. a printer-friendly page).

Duplicate content isn't really a search engine penalty (at least, not until/unless you start duplicating at very large scales), but it can cause a split of ranking signals that can harm your search traffic potential. If Page A has some quantity o
So by 'canonicalizing' them they probably mean that you should go with the best, most representative URL, rather than having multiple URLs for the same resource. If we mapped this to your scenario, it would mean that if different "Categories" contain the same "Products", we should consider "Canonicalizing" by keeping only that category based URL that best respresents the "Product" ... Makes sense?
Again ... I have not done as much in-depth work in SEO, so you should probably go with the more popular opinion on these blogs and stuff. Besides, I also do believe that only a very small number of products would have an overlap in the category, so by and large it wouldn't be that much of a large scale SEO hit.
Therefore, the "Category" based routing scheme that you are currently proposing might actually work. Although, if I was developing it I would probably try to work on a scheme that's shorter and unique for each item.
Consider this URL for example, I just googled 'Nike Mercurial Amazon'

https://www.amazon.com/Mens-Mercurial-Victory-Soccer-Cleat/dp/B078RWGQC9

There's no category name there ...
20:10
I think canonicalizing work for language code well but for a category as these type of data (category, etc) changing dynamically that seems to be a not good solution.
Amazon URLs is so confusing :(
My best bet would be to search top 10 e-commerce websites in the world and hopefully, check them out one by one and see what schemes they are using because they're already well-established businesses and have put in more research into it than you and I.
It must be so old fashion
You right but don't forget the most of successful e-commerce websites is too old and not easy for them to change to good new way to handle URLs.
I guess this whole SEO based URL thing is blown out to proportion, it might not have that much of a huge impact anyways. Like the "moz" article quoted, the best URL structure is the one that best represents the content of the page itself. Considering that if you feel a "Category" or "Language Code" adds clarity to the representation of a "Product", you should go by that scheme.
I, however, think that just the "ProductName" itself or at most a single "Category" would be the truest representation of it, rather than having multiple URLs linking to it.
20:33
I agree but related to job maybe need to have more than one category for some product, That is product base logic, I need to track category but I must not to have it in URL, This is a conflicted issue.

last day (15 days later) »