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
-
Best structure for a news website including main menu nav
Just looking for thoughts and opinions on the best way to set up the main nav on a news website that covers a specific professional services sector. There are news items, archived news, blog, events, but also main menu links to the numerous news categories that go to a page listing the news articles under that category (as created in Wordpress when publishing the article). I'm thinking that having these off the main nav is diluting the juice to the more important pages including the events and the news page? Just thinking about how to rearrange and consolidate. Any thoughts on how people would structure something like this?
On-Page Optimization | | sam_legmark0 -
City Name in URL structure
I have a client whose site was built when they only served one market, and they now have that city in the majority of their URLs. I'm suggesting we redo the URL structure to remove this location from the main URLs (think homepage, about, etc.) since they have now expanded to three markets. They are seeing a lot of great organic traffic in that original market but are struggling in the new ones they've added so I'm helping to optimize their site. How critical do you think that removing that location from the URL is? I know we would need to implement 301 redirects, but wanted to get thoughts on this.
On-Page Optimization | | maghanlinchpinsales0 -
Phone number formatting - Periods vs Dashes
Are there any best practices on phone number formatting regarding using periods XXX.XXX.XXXX vs dashes XXX-XXX-XXXX? What about using parentheses on the area code (XXX)XXX-XXX? This is regarding a phone number on a contact apge...
On-Page Optimization | | WorkhorseMKT0 -
Ecommerce URLs with numbers
Hi everybody! I have to optimize an ecommerce where somebody has previously done the SEO optimization, although the URLs have numbers before the product's name They have told me that these numbers are useful to find the products, so I think it shouldn't be really bad if I don't redirect them to "clear" ones. For example: /colesterol-sobrepeso/2217-hc-grass-capsulas-duras-15-capsulas.html > /colesterol-sobrepeso/hc-grass-capsulas-duras-15-capsulas.html Am I right? After all, they contain the keywords and the subfolders are also ok. Or it would be better if I redirect the whole site? Thanks!
On-Page Optimization | | Estherpuntu0 -
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 -
Correct .htaccess settings for canonical url?
I want to forward all urls to http:www.mysite.com but am a little confuse because I am getting duplicate content error: Pages with Duplicate Page Content as of Jan 15http://titanappliancerepair.com/ 1 duplicatehttp://titanappliancerepair.com 1 duplicatehttp://titanappliancerepair.com/index.html 1 duplicate*****************************************************************What should I put ion htaccess file so I can forwardhttp://titanappliancerepair.com/index.htmlhttp://titanappliancerepair.comhttp://titanappliancerepair.com/to http://www.titanappliancerepair.comor what is the correct way to do it?I'm confused because when I enter http://titanappliancerepair.com/ in browser it showshttp://titanappliancerepair.com so how can it be considered duplicate content?.Can someone help?I have godaddy and they have gave me this code to put RewriteEngine on
On-Page Optimization | | webbutler13
rewritecond %{http_host} ^coolexample.com [nc]
rewriterule ^(.)$ http://www.coolexample.com/$1 [r=301,nc]What is correct?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 -
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