Mobile app version of vmapp.org
Login or Join
Jessie594

: URL good practice for category sub category? I have developed a application and I need to work for SEO-friendly URL. I have following URL structure: http://localhost:3000/posts/product/testing-with-slug-url-2

@Jessie594

Posted in: #Seo #Url #UrlRewriting

I have developed a application and I need to work for SEO-friendly URL.

I have following URL structure:
localhost:3000/posts/product/testing-with-slug-url-2

and
localhost:3000/posts/product/testing-with-slug-url-2-4-23

Is this a good practice? If not how can I rewrite it?

Ok Ill explain about my applicaiton.

My application is based on shopping.

if a customer searched for mobiles. it will redirect to url like this
mydomain.com/cat/mobile-3

3 in the url indicates my database id it is used for further searching

After the user reached the mobile page he may need to filter for some brand eg. nokia
so my url look lik
mydomain.com/subcat/nokia-3-2

The integer at the end refers to 3 category id and 2 the brand id

My doubt is whether the integer at the end of the url will affect seo ranking.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Jessie594

2 Comments

Sorted by latest first Latest Oldest Best

 

@Heady270

I would suggest that any ID numbers that are needed to figure out the page be placed near the beginning of the URL, rather than at the end. This is because long URLs have a tendency to be truncated in email and when pasted into forums and other content management systems.
localhost:3000/posts/product/testing-with-slu... cannot be understood by your web server but localhost:3000/posts/product/2-4-23-testing-wi... could be.

I wrote a good answer to Are keywords in URLs good SEO or needlessly redundant? that covers this entire topic well and is worth your read.

10% popularity Vote Up Vote Down


 

@Yeniel560

I doubt the integers will have an actual effect on your rankings.

If possible, I'd suggest to make the URLs have the same hierarchy as the logical hierarchy of your content, that is in your case:
mydomain.com/cat/mobile-3 http://mydomain.com/cat/mobile-3/nokia-2


A structure like that is transparent for the user as well as for search engines.

No one really knows whether this actually affects ranking, but the algorithms definitely won't blame you for transparency.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme