Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
URL best practices, use folders or not ?
-
Hi
I have a question about URLs. Client have all URL written after domain and have only one / slash in all URLs. Is this best practice or i need to use categories,folders?
Thanks
-
It's a trade-off, for both SEO and users, and I don't think there's one answer that fits every situation. The category level can add information, but it also makes URLs longer, which can be bad for both bots and people. If you have short, descriptive categories that aren't repeated in the product/page names, and those categories mimic your site structure, then I think it can be positive.
My argument was mostly against people adding categories just for SEO benefit (it's probably minimal, at best) or repeating every category, sub-category, etc. to the point of absurdity, causing keyword cannibalization and massive URLs. For example:
www.bobscamerashop.com/cameras/digital-cameras/canon-cameras/eos-cameras/camera-canon-eos-rebel-t3
Of course, that's also keyword stuffed, but I'm exaggerating to prove a point. You can go too far in either direction.
In general, though, I don't think categories in the URL are necessarily bad. In some cases, as Woj said, they could be a positive for users and possible even SEO.
-
Think about it from the user's point of view. What would work best for them? Maybe even get some feedback from some site users if possible
-
Will the site categories/products grow? If so, then the slash could be used to organise the structure & prepare for the future
In the example, you presented:
- www.example.com/accounts-titanium
- www.example.com**/**accounts/titanium
These are the same length & make no real difference
When we compare these 2, however:
You can see that #1 is shorter, doesn't repeat keyword (even though they are plural) & would be more likely clicked in the SERPs
Does that help some more?
-
http://www.seomoz.org/blog/should-i-change-my-urls-for-seo
In this article point 2 is saying that the unstructured is better
so i`m confused.
-
the site is small about 60 pages and max depth level is 3
-
I'd use folders or categories if the amount of products/items is large and/or going to expand
If it's a small amount & finite then make the URLs as short as possible
-
Information architecture is important from a usability and search engine prospective.
I'd say go for the categories divided by the /
www.example.com**/**accounts/titanium
www.example.com/accounts/open-demo-accountThis makes more sense and lends itself to scalability etc.
hope this helps.
there are some really good articles on information architecture on the seomoz and the web
-
URL is without any category or folder
www.example.com/accounts-titanium
www.example.com/open-demo-account
is this right or i need to use:
www.example.com**/**accounts/titanium
-
not quite sure what you mean exactly - can you expand with and example?
Thanks
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Virtual URL Google not indexing?
Dear all, We have two URLs: The main URL which is crawled both by GSC and where Moz assigns our keywords is: https://andipaeditions.com/banksy/ The second one is called a virtual url by our developpers: https://andipaeditions.com/banksy/signedandunsignedprintsforsale/ This is currently not indexed by Google. We have been linking to the second URL and I am unable to see if this is passing juice/anything on to the main one /banksy/ Is it a canonical? The /banksy/ is the one that is being picked up in serps/by Moz and worry that the two similar URLs are splitting the signal. Should I redirect from the second to the first? Thank you
On-Page Optimization | | TAT1000 -
Exact keyword match for meta title and h1 what is best practice?
How exact should my meta titles and H1 one be compare to the keyword you wish to rank on. Eksample. When I do a research with google AdWords the keyword tool shows me: 260 monthly searches for house for rent Hua Hin 140 monthly searches for Hua Hin house for rent 70 monthly searches for House for rent in Hua Hin The first two includes the exact same 5 words while the last one includes the stopword "in". That google have different search volumens for these very smilair search queries tells me that small differences matters. So how does that effect the way i shoulf write my: a)meta titles b)H1 I feel I get better sentences often by reordering the keywords etc. “Top tips on how to rent house in Hua Hin” Instead of “Top tips if you want a house for rent in Hua Hin” Do you use stop words like “in” hua hin. (only used in 25% of the searches queries)? Also would it matter if i write a plural form of a keyword instead of a singular etc propeties and sted of property? My goal is to write easy to read and unique content but i feel i can make exact matches if required with out compromising to much.
On-Page Optimization | | nm19770 -
Is using hyphens in a URL to separate words good practice?
Hi guys, I have a client who wants to use a hyphen to separate two words in the URL to make each work stand out. Is is good or bad practice to use a hyphen in a URL and will it affect rankings? Thanks!
On-Page Optimization | | StoryScout0 -
Using a dash or underscores in file names.
Is it better to use a dash or an underscore in file names to improve SEO? EX memory_flash.jpg or memory-flash.jpg Or does it make no difference?
On-Page Optimization | | Robotnik0 -
Url structure with dash or slash
Hi There We have a content website. We don't rank well category image related searches but we get quite good traffic for those keywords. Those keywords are mostly like "category images". We want to change our url structure and we have 2 options now. 1- domain.com/category/category-images 2-domain.com/category/images option 1 repeats the category name so it looks spammy option 2 doesn't really have the keyword. any ideas which one tho choose? Thanks! ps: we don't want to use domain.com/category-images (too many root link)
On-Page Optimization | | muminaydin0 -
Best way to nofollow affiliate links?
I don't "nofollow" affiliate links but I have quite a few. Doing them one by one would just be an impossible job. Would it be best to get a plugin that nofollows EVERYTHING? What would google prefer? I need to DOFOLLOW some links because those sites deserve it.
On-Page Optimization | | 2bloggers0 -
Canonical URL, cornerstone page and categories
If I want to have a cornerstone "page", can I substitute an actual page with a category archive of posts "page" (that contains many posts containing the target key phrase)? This way, if I make blog posts about a certain topic/ key phrase (example "beach weddings") and add a canonical URL of the category archive page to the individual posts, am I right then to assume google will see the archive page as the cornerstone page (and thereby won't see the individual posts with the same key phrase as competing)?
On-Page Optimization | | stephanwb0 -
301 redirect and then keywords in URL
Hi, Matt Cutts says that 301 redirects, including the ones on internal pages, causes the loss of a little bit of link juice. But also, I know that keywords in the URL are very important. On our site, we've got unoptimized URLs (few keywords) in the internal pages. Is it worth doing a 301 redirect in order to optimize the URLs for each main page. 301 redirects are the only way we can do it on our premade cart For example (just an example) say our main (1 of the 4) keywords for the page is "brown shoes". I'm wondering if I should redirect something like shoes.com/shoecolors.html to shoes.com/brown-shoes.html In other words, with the loss of juice would we come out ahead? In what instances would we come out ahead?
On-Page Optimization | | BobGW0