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
-
Why the url inspection is disabled in search console ?
In this situation, how can we make our pages be fetched by google?
On-Page Optimization | | supporthandle0 -
For an e-commerce product category page that has several funnels to specific products, for SEO purposes does it matter whether the category page's overview content is above or below those funnels?
We manage an e-commerce site. On a category page, there are several funnels to specific products. We moved the category overview content below those funnels to make it easier for users to quickly get to products. Seems more user friendly to me, but could that move of the main content to the lower part of the page be a negative ranking factor?
On-Page Optimization | | PKI_Niles0 -
Menu Structure
I'm working on a site where there is a top level menu with a dropdown off a couple of the main headings and subsequent dropdown from one or two of those dropdowns. Usual stuff. The main problem we are having is the ranking of one of the main menu pages, some of which is historical stuff we have cleaned up and waiting for Penguin. My question is whether the following is a prudent step. The main menu option/page and keyword is something like "Green Widgets" but this activates a dropdown where there is a link to 'Types of Green Widget', then again there is a dropdown with several pages to different types of Green widget. The two menu items "Green Widgets" and "Types of Green Widgets" both link to the "Green Widget" page. As the "Types of Green Widgets" link is sitewide and not really in the right flavour for the "Green Widget" page would it be prudent to remove the link element of that menu item or set it to /#
On-Page Optimization | | MickEdwards0 -
Duplicate content with tagging and categories
Hello, Moz is showing that a site has duplicate content - which appears to be because of tags and categories. It is a relatively new site, with only a few blog publications so far. This means that the same articles are displayed under a number of different tags and categories... Is this something I should worry about, or just wait until I have more content? The 'tag' and 'category' pages are not really pages I would expect or aim for anyone to find in google results anyway. Would be glad to here any advice / opinions on this Thanks!
On-Page Optimization | | wearehappymedia1 -
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 -
URL Rewrite
(By Google Traductor) Hello, I wanted to ask about some changes that we are evaluating for the issue of passing the url with variables to be more descriptive, for example: http://www.agroads.com.ar/detalle.asp?clasi=139592 tohttp://www.agroads.com.ar/humedimetro-para-cereales-draminski-gmm-139592.html In this case corresponds to the breakdown of a product if you have long published andcan be well positioned to change the title of this position would be lost unless youmanage it with a 301, as one would manage when you have more than 30000 products and title may change several times? There are tools to manage this? Finally, we must apply this to all listed with their respective filters, recommends doingtheir part with 301 redirects and analyze what funciene well to continue with the rest or implement a complete change? I hope I can bring a little light to implement this. Greetings and thanks! Roberto
On-Page Optimization | | romaro0 -
Long URL in listing job portal
Hello I have job portal and I am listing job offers by: regions, position, sector, language skill For example, when user searchs job in Bratislava, Programmer, information technology, english. My URL is www.presbium.sk/bratislava/pragrammer/information-technology/english Title:Job in Bratislava, Programmer, Information technology, english I know, that URL is too long and no good for SEO. Is it solution? When user chooses max. 2 items for example: www.presbium.sk/bratislava/programmer/ than I put in every next links atribute nofollow and google will index only pages with max. 2 items: www.presbium.sk/bratislava/ or www.presbium.sk/programmer/ or www.presbium.sk/bratislava/programmer/ but not www.presbium.sk/bratislava/protrammer/english/, because english link has atribut nofollow. And I want to ask, what is the best solution for SEO when I am listing job offers by regions, position, sector, language skill and I have than long URL and Title www.presbium.sk/bratislava/pragrammer/information-technology/english Title:Job in Bratislava, Programmer, Information technology, english
On-Page Optimization | | PeterSEO0 -
Best title tag structure?
Hi, In the below example, which one do you think would work best if any. The website is called greatshoes.co.uk (fictitious) The category is 'work shoes' and a page under this cat is lets say 'Size 9 work shoes' I tend to build my title tags like this: size 9 work shoes, cheap size 9 work shoes | greatshoes.co.uk BUT I have read on here it should be more like this: size 9 work shoes < work shoes | greatshoes.co.uk Does anyone think it would make a difference when targeting for the term 'size 9 work shoes' which title tag I use. Cheers
On-Page Optimization | | activitysuper0