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
-
Query for paginated URLs - Shopify
Hi there, /collections/living-room-furniture?page=2
On-Page Optimization | | williamhuynh
/collections/living-room-furniture?page=3
/collections/living-room-furniture?page=4 Is that ok to make all the above paginated URLs canonicalised with their main category /collections/living-room-furniture Also, does it needs to be noindex, follow as well? Please advice, thank you!1 -
Structured Data on mobile and desktop version of a page
Hey there,
On-Page Optimization | | Online-Marketing-Guy
certain pages of our website have mobile versions like m.mysite.com/content-xyz. On the desktop pages (i.e. mysite.com/content-xyz) we have "rich snippets for ratings" marked up and displayed in SERPs. However the ratings also appear in mobile search results when SERPS reference the mobile version of the page (m.mysite.com/content-xyz) which doesn't have any ratings or markup? I am trying to figure out how Google treats mobile versions of a page in relation to the desktop version in relation to structured data (breadcrumbs etc.)? Would you always mark up both versions to be the same? Any ideas and thoughts on this are greatly appreciated. Cheers, Jochen rich Snippets for Ratings1 -
Dynamic URL Parameters + Woocommerce create 404 errors
Hi Guys,
On-Page Optimization | | jeeyer
Our latest Moz crawl shows a lot of 404-errors for pages that create dynamical links for users? (I guess it are dynamic links, not sure). Situation: On a page which shows products from brand X users can use the pagination icons on the bottom, or click on: View: / 24/48/All.
When a user clicks 48 the end of the link will be /?show_products=48
I think there were some pages that could show 48 products but do not exist anymore (because products are sold out for example), and that's why they show 404's and Moz reports them. How do I deal with these 404-errors? I can't set a 301-redirect because it depends on how many products are shown (it changes every time).
Should I just ignore these kind of 404-errors? Or what is the best way to handle this situation?0 -
Using keywords in my URL: Doing a redirect to /keyword
My website in "On Page Grade" received an A.Anyway, I only have 1 thing to optimize:_"Use Keywords in your URL__Using your targeted keywords in the URL string adds relevancy to your page for search engine rankings, assists potential visitors identify the topic of your page from the URL, and provides SEO value when used as the anchor text of referring links."_My website is ranking in top10 for a super high competitive keyword and all my others competitors have the keyword on their domain, but not for my URL.Since I can't change my domain for fixing this suggestion, I would like to know what do you think about doing a 301 redirect from / to mydomainname.com/keyword/So the index of my website would be the /keyword.I don't know if this can make a damage to my SERP for the big change ir it would be a great choice.
On-Page Optimization | | estebanseo0 -
How to exclude URL filter searches in robots.txt
When I look through my MOZ reports I can see it's included 'pages' which it shouldn't have included i.e. adding filtering rules such as this one http://www.mydomain.com/brands?color=364&manufacturer=505 How can I exclude all of these filters in the robots.txt? I think it'll be: Disallow: /*?color=$ Is that the correct syntax with the $ sign in it? Thanks!
On-Page Optimization | | neenor0 -
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 -
Wordpress & trailing slash on domain name
Hi recently changed my site so it is based on Wordpress, got my preferred domain set in Google webmaster as www.domian.co.uk but since moving to wordpress my domain is now having a slash put on the end of it like www.domain.co.uk/ Most of the links going to my homepage do not have the slash on the end so am I right in thinking I should get rid of the slash from my site so I have one consistent url? If so any ideas how to banish the slash? Cannot seem to do it through the Wordpress general settings (despite preferred domain being set as www.domain.co.uk !) Thanks T
On-Page Optimization | | Jon-C0 -
How do I PERMANENTLY change an incorrect URL link with one of my keywords?
Hello, I received an “F” grade on my on-page report for one of my keywords. I noticed that the URL linked with that keyword was wrong. After changing it to the correct URL, I received an “A.” However, the change was not permanent. How do I permanently change the URL? I don’t see any “Save Changes” or “Apply Changes” button anywhere. Thank you!
On-Page Optimization | | jampaper0