Categories and URL Structure - When to add a new directory?
-
I've been wondering this for quite awhile so I figured I should just ask.
Suppose my website has 5 categories and the url structure looks like:
do I also want to create a landing page for the above categories at the same URL depth as the homepage of the site?
OR what about:
www.mysite.com/category1/index.html
Which is a better way to do this?
Also, if your site began as fairly small and your 5 categories were your only other pages other than index, about, and contact pages (meaning you really had no reason to create separate directories), then as time passes, you decide to add 3 subcategory pages that would fit into a page: www.mysite.com/category1.html
would you add a folder with he same name as the html page, and then rename the html file as index.html and place it into the new folder?
-
I'm sorry, there was a typo in my question.. When I used the term "subdirectory" what I was actually referring to was a product page.
So, essentially what you are saying is that for my lowest URL depth where the website homepage is found, the only files there are going to be index?
-
Hi Bradley,
let's start with the first doubt... when you talk about a "landing page for the above categories", do you mean one landing for all 5 categories, or one landing page per category.
In the second case, the same /category1/, /category2/... should be treated and considered as landing pages.
In the first case, instead, your idea of having the landing on the same level of the architecture as the home page is formally correct, but - IMHO - it would be poor UX solution, because your are obliging the users to pass trough one possibly useless click in order to arrive to the category they are interested.
I also did not really understand your second question, but normally if you have to start adding subdirectories, than the URL of a subdirectory should be something like this:
www.domain.com/directory1/subdirectory2
as saying, you will add a second level of deepness in your navigational architecture.
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
-
Using h2 for category on ecommerce website
Hi, I am working on an ecommerce site and the main category - lets call them car widgets - is using a h1 at the top of the page which is great. There are 4 sub categories on the page - lets call one of them red widget. The only content on the page is the sub category name and an image. Should the sub category red widget use a h2? Thanks S
On-Page Optimization | | bedynamic0 -
Url lenght/depth - Short or specific?
Hi, I'm trying to decide the best structure for a directory my site offers (containing all the businesses working in the field) and I'm not sure whether to choose something shorter or being more specific. So, I have 3 variables: Type of business (I mean, specific sector) Region City And I'd like to give some strength to every one of it. So, the complete URL (the one I'd like to use) could be: www.mysite.com/sector/region/city/business-name What I was not sure about is...is that too deep? I mean, even thought I'd like to perfectly categorize them and give some strength to every sublevel, I'm not sure about having the business-name so "far" and so "deep". Thank you for your ideas!
On-Page Optimization | | Daniele_Carollo0 -
How to redirect subdomain to new blog directory
I have moved my wordpress blog from a subdomain to a subdirectory /blog/ on my site. What is the best way to setup a redirect from the subdomain to the new /blog/ directory? Or should I just delete the subdomain blog and wait for google to index it on /blog/. I need to do one or the other so as not to run into duplicate content issues.
On-Page Optimization | | SamCUK0 -
Paginated URLs are getting Indexed
Hi, For ex: - My site is www.abc.com and Its paginated URLs for www.abc.com/jobs-in-delhi are in the format of : www.abc.com/jobs-in-delhi-1, www.abc.com/jobs-in-delhi-2 and vice versa also i have used pagination tags rel=next and rel=prev. My concern is all the paginated URLs are getting indexed so is their any disadvantage if these URLs are getting indexed as somewhere i have read that link juice may get distributed in case of pagination. isn't it good to use Noindex, Follow so that we can make the Google to understand that paginated page are not so much important and that should not be ranked.
On-Page Optimization | | vivekrathore0 -
Domain sub-directory not performing
We've restructured our site over the past 6 months and I'm going to run you through the whole scenario as I would love any feedback you guys have. 6 months ago we had 2 websites http://boulders-climbing.com (climbing facility) and http://bouldersuk.com (shop). We made the decision to merge the websites and leverage the SEO on 1 site. Although boulders-climbing.com was the older and more established domain, the company wanted to use bouldersuk.com so a whole new website was designed and boulders-climbing.com was redirected to bouldersuk.com. The climbing facility website now sits at bouldersuk.com and the shop was moved to bouldersuk.com/climbing-shop with 301's for all shop pages. This has lead to a significant a increase in domain rank for bouldersuk.com and much better rankings for the climbing centre related terms. The desired effect has been achieved, well half of it anyway. The search rankings for bouldersuk.com/climbing-shop have never reached the previous heights and are still heading in the wrong direction, even though the overall domain ranking has increased by 50%. What can I do to get the SEO for /climbing-shop working again? We're adding fresh content to our latest news with links through to products and categories, all category pages have A grades. we are attempting to link build but it is much more difficult for e-commerce than for the facilities pages. Is the SEO of the main site hampering(masking?) the /climbing-shop? All feedback on the whole process would be much appreciated. Thanks!
On-Page Optimization | | benj450 -
How to add an affiliate store
Hi all Just wondering what other Mozewrs' would do about this..... I want to add a revenue stream to a blog of mine and I have decided that an affiliate store is the way to go. I can create a store with merchant datafeeds and pull in products related to my site, and all being well make some pennies from it. Obviously all the datafeeds are published on many other sites and so it will be very duplicate content. Would blocking Googlebot from the store be enough to ensure that the site doesn't receive a penalty for duplicate content? I would be keen on getting the product category pages indexed but not too worried about the actual products themselves. I would like to make some revenue from the site but not at the risk of killing the blog. Thanks
On-Page Optimization | | GrumpyCarl0 -
Should I be afraid to launch new website?
I have been redesigning my website in the last 2 months. I'm almost ready to finally launch it. Now I wonder how it will effect my rankings. I have taken a few measures to avoid problems such as: I kept the page names as they are. I kept the structure of the website Optimized the structure of my pages which should benefit my SEO rather then harm it. Yet, if I would experience a drop in rankings, could I regain my rankings by switching to the previous website?
On-Page Optimization | | wellnesswooz0 -
Long URLs
Many URLs of my site are long due to long navigation paths. Here is an example: http://tinyurl.com/6qc4syb. My question is, if I shorten the urls (which I probably should do), does it matter that they no longer follow the navigation path?
On-Page Optimization | | rdreich490