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 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
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)
-
Hey Rob,
Just throwing some ideas in here.
Is it folder depth or distance in terms of number of clicks from Homepage that makes a difference? It was my understanding that using a very flat structure was pretty outdated SEO?
One of the issues I think that get overlooked a lot when considering URL structure is how to structure URLs so you can drill down easily into different types of content/categories/channels.
As I understand it Google see a slash as the root of a folder. You can see this in Analytics, a page with a slash at the end of it has a folder icon next to it and you are shown the stats for that folder. This means that if you remove the trailing slashes from actual pages you can see how separate areas of the site are performing as a whole.
Another argument for using a folders to structuring URLs could be that "link juice" spreads throughout the folder, perhaps even contextually. For instance if I have a folder which contains all of my pages about widgets then as my link profile to the pages in the widgets folder all the pages in that folder benefit. It seems logical that if an item was in a relevant directory that x contextual links then it would benefit.
As I said, just a bit food for thought, not sure if my theories are correct but I'd be interested what you guys think?
Neil.
-
Thanks Wesley,
if difference between category-images and category/images is that small, I would like to with option 2 then.
-
Hi donford
Thanks for your answer, but I don't ask about image searches, the keyword is "category images" so it is not about image tags/desciription.
(we already have correct tags and names)
-
In my experiences and tests (although some disagree in search) don't forget to consider that (folder depth) IE - number of directories beyond the URL may have an impact on your search performance I can have an impact/factor in how deep spiders both crawl and index sites with regards to relevance and competitive landscape mapping. Just keep in mind
So you with www.domain.com/category/images/anotherfolder/ might be much longer to get your images ranking vs www.domain.com/images/ - but again, it doesn't always work in a framework for architecture if you have multiple, hundreds or thousands of /category/ sections in the sites design.
Try to trim down your URL to make it the most simplified, but user friendly (as possible :). Keeping it short for any pages and or directories also makes it more user friendly in that people can remember where the file was and the URL it was on
Folder location still has impact on crawl depth and rankings. The above mentioned features to improve relevancy for images are still useful (see post above), so ensure to name each image, and use hyphens between words, use the IMG ALT text on every image to identify, and the location of said images on various location page/URL's.
If you can get around removing the /category/ folder and reducing the URL to www.domain.com/images/ where all your image files are located, that might be better, but I have only used this in a handful of cases. Usually, more often than not .
Hope that helps!
-
The basic question (correct me if I'm wrong) is how to rank better for Image searches.
The answer, has little to do with the options you listed.The best way to achieve this
- Name the image appropriately (example Red-Ford-Mustang-Convertiable-2014.jpg not rfmc2014.jpg)
- Use appropriate image alt text (example "Car's Side View 2014 Mustang Convertible")
- Place images on appropriate pages, meaning you wouldn't want to show a red ford mustang on a page about staplers (the content of the page helps the image
Hope this helps
-
It's such a subtle difference SEO wise (if, in fact, there is a difference at all) that it really works out to what's best in terms of the user experience (internally or externally). I wouldn't waste much time considering it--just pick the one that seems to work best for your architecture/visitors and go with it.
-
I would recommend going for option 2 -> domain.com/category/images
The keyword you mentioned is "Category images". Both of these words are now in the URL structure. The difference SEO wise is very very very small though.
The structure of option 2 is much simpler and more straightforward. It looks less spammy and is easier to type in. Therefor it's better for the user and for you to use option 2.If you have any other questions feel free to ask me
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
-
URL keyword separator best practice
Hello. Wanted to reach out see what the consensus is re-keyword separators So just taken on a new client and all their urls are structured like /buybbqpacks rather than buy-bbq-packs - my understanding is that it comes down to readability, which influences click through, rather than search impact on the keyword. So we usually advise on a hyphen, but the guy's going to have to change ALLOT of pages & setup redirects to change it all wasn't sure if it was worth it? Thanks! Stu
On-Page Optimization | | bloomletsgrow0 -
Are the prepositions and separate letters in URL bad for website optimization?
Is it ok for website optimization to use prepositions and separate letters in URL ? Examples: -i-series ; -salad-with-avocado etc.
On-Page Optimization | | adrecom0 -
Will changing a URL negatively affect ranking?
Hello Mozzers, We would like to change the URL for a page on our website which ranks well for some our keyphrases/words. We are hoping the change of URL, through the addition of an additional keyword would help boost the rank of that URL further. At the moment out page gets 2 x A and 2 x B 1xF on the MOZ page rank tool using 5 keyphrase/word variations . One phrase ranks 4, one ranks 3 and the other 3 are 'not in the top 50' Our plan was to change the URL, using SHF404, and use 'Fetch' in the Google search console to re-submit the page to Google. Appreciate you can't give any guarantees how Google will behave, just wondered what your thoughts were on the wisdom of changing the URL in the first place? Thanks Ian
On-Page Optimization | | Substance-create0 -
Google is indexing urls with parameters despite canonical
Hello Moz, Google is indexing lots of urls despite the canonical in my site. Those urls are linked all over the site with parameters like ?, and looks like Google is indexing them despite de canonical. Is Google deciding to index those urls because they are linked all over the site? The canonical tag is well implemented.
On-Page Optimization | | Red_educativa0 -
How do I remove a Canonical URL Tag?
Some of my report cards say I have too many canonical URL tags. However, there is no information no how to delete one. Can someone give me a link or explain? Thanks.
On-Page Optimization | | dealblogger0 -
Which is Best Practice for creating URLs for subdomain?
My website is related to education. We have created sub domains for all major colleges, universities & Entrance exams like Gre, Toefl ETC. for eg: amityuniversity.abc.com (Amity is Name of University ) Now if have to mention city name in URL as well (college is located in multiple locations) amityuniversity-delhi.abc.com
On-Page Optimization | | rohanarora536
amityuniversitydelhi.abc.com Now my Q is can we use hyphens in sub domains if we have to add city name or shall we create without using any hyphens. In Directory structure we can always separate words with hyphens, can we follow same practice in subdomain as well Which is a best URL for subdomain amity-university-delhi.abc.com
amityuniversity-delhi.abc.com
or amityuniversitydelhi.abc.com0 -
URL for location pages
Hello all We would like to create clean, easy URLs for our large list of Location pages. If there are a few URLs for each of the pages, am I right when I'm saying we would like this to be the canonical? Right now we would like the URL to be: For example
On-Page Optimization | | Ferguson
Domain.com/locations/Columbus I have found some instances where there might be 2,3 or more locations in the same city,zip. My conclusion for these would be: adding their Branch id's on to the URL
Domain.com/locations/Columbus/0304 Is this an okay approach? We are unsure if the URL should have city,State,zip for SEO purposes?
The pages will have all of this info in it's content
BUT what would be best for SEO and ranking for a given location? Thank you for any info!0 -
How long is too long for domain URL length?
I noticed one of the negatively correlated ranking factors was length of URL. I'm building a page from scratch, we are trying to rank for 'Minneapolis Fitness' and 'Minneapolis Massage'. Is www.minnnepolismassageandfitness.com just ridiculously long? Or does the exact match outweigh the penalty for URL length?
On-Page Optimization | | JesseCWalker2