Search engine friendly URLs
-
I'm going to create some new content for my site, I'm trying to decide on the best search engine friendly format. Namely, is it ok to use a subdirectory or should I keep all content on root level?
Is the SEO effect of either of these URLs superior to the other?
-
I like this analysis and recommendation.
The only other thing I would say (if it's a page) is drop the trailing slash on the recommended URL to this:
domain.com/cooking/lasagnaThat makes it clear it's a page as opposed to a directory, and it also looks cleaner to the human eye.
Here's some more complete discussion on the trailing slash topic:
http://googlewebmastercentral.blogspot.com/2010/04/to-slash-or-not-to-slash.html -
Hi Limens,
It is certainly fine to use a subdirectory, and can really make sense to help organize your content. It's also helpful in your analytics if you want to see who went to the blog area of your site versus the product area of your site.
It would help to know a little more about your site, but I would choose neither of the above. I'd actually go with something like domain.com/cooking/lasagna/. Note that I'm not including the .php. If you later switch to a different language, you won't have to redirect from php to asp or html, etc.
I wouldn't stuff your subfolder in your URL with keywords like the tasty-food in your example below. It just makes your URL longer and look a little more spammy to the human eye.
-
The second one is the best, because sort URLs are more relevant than long ones, but the best practices are http://www.seomoz.org/learn-seo/url
Use - instead of _ to separate keywords
-
this is what the length of URL would be in reality:
www.domaindom.com/cooking-tasty-food/lasagna_with_cheese.php
but if there is a good SEO reason, I could just put it on the root:
-
If your URLs are sort, the best way is to use domain.com/cooking/lasagna.php, this is the best way to optimize for lasagna and target secondary keywords cooking related.
Bye.
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
-
Solved Recommended title length for Google search results
I read the recommended title length is 50-60 characters depending on alphabets, etc,.
On-Page Optimization | | Mike555
Anyways, my question is, is there any harm of having longer title?
If all my important keywords are within the 50-60 characters that will show up on search results, I can still make the title longer, it's just that those keywords outside won't have any effect on search results?0 -
To change or not to change site URL structure?
I am learning my way around SEO, having always used professionals for it in the past on previous businesses i have decided to do it myself and learn more about it. Now the dilemma i am up against is i recently changed some of my permalinks on quite a few main pages throughout the site. The site launched in April this year so we're quite new. The problem is since my last change i have not seen any increase...a decrease which in fact hasn't recovered at all. Having now analysed them in more depth and read up more on the whole subject of SEO, (which is endless) i have put together a complete new strategy; with this increased understanding of what i am doing (but by no means conclusive) i want to complete a full overhaul on all SEO (via Wordpress which i use along with YOAST SEO tools), ensuring i have all my keywords, permalinks and descriptions spot on throughout every page, post and picture. I spent a lot of time mapping these out, ensuring there is no Focus keyword duplication, and that the site is relatively flat in terms of its layout. What i am unsure about now is whether changing my permalinks again is a bad thing to do?
On-Page Optimization | | MrCostello
Could it permanently damage my rep going forward?
Should i just focus on my content and keywords/descriptions? I am at a loss as i don't want to do irreparable damage to our reputation. The site is still reasonable easy to manage so changing now is the best time to do it, but if changing the URLs is a waste of time then i may just forget that and just work on the keywords, descriptions and content. Advice is 'oh so welcome' 🙂0 -
Ecommerce internal search results pages
I'm working on a ecommerce site that allows product search results pages to be sorted a variety of ways (best selling, newest, by price). Each of these search filters creates a new url i.e. /all/best/1 and /all/best/2; /all/new/1 and /all/new/2; etc. These search results pages have been indexed and the site is receiving enough organic traffic from these pages that I don't want to add noindex,follow to them. I am planning on implementing rel=prev,rel=next for each filter, but I'm concerned about duplicate content considering I can't create unique meta data for each page. Should I canonical all pages to the first search results page without filters applied? Or any other ideas on how I should proceed?
On-Page Optimization | | ang0 -
How to deal with tracking numbers in URLs
I am working on a site at the minute that has links like this: Jobs in London URL looks like: domain.com/jobs-in-london/ However, my developers insist that they need to use tracking codes, so everytime someone clicks on the above link, they are redirected (301) to a new URL that looks like: domain.com/search/1234567(unique search id) This is killing me when I am trying to get internal pages, like /jobs-in-london/ ranked. What to do?
On-Page Optimization | | MirandaP0 -
How should I structure my product URLs?
How should I structure my product URLs for the best SEO results? Lets say my product is "American Apparel 2001". Would it be better to run the URL together or use a "-" between each word. Here are two ideas I had, but feel free to suggest others. realthread.com/products/americanapparel2001 or realthread.com/products/american-apparel-2001 Thanks for the help! Dru
On-Page Optimization | | drudalton0 -
Long or Short URLs. Who's Coming to Dinner?
This has been discussed on the forums in some regard. My situation. Example 1 Long Keyword URL: www.abctown.com/keyword-for-life-helping-keywords-everywhere-rank-better Example 2 Short Keyword URL: www.abctown.com/keyword In both examples I want to improve rankings for the "keyword" phrase. My current URL is example 1. And I've landed a page one ranking in Google (7) with that URL. In attempts to improve rankings further (top 5), I was toying with the idea of going simpler with all my URLs in favor of the example 2 model. Might this method help or hurt my current rankings? In recent articles I've read it seems that going with the simpler more human approach to my SEO efforts. Any thought would be appreciated. Cheers,
On-Page Optimization | | creativedepartment0 -
Is it worth changing urls with underscores?
A few pages on one of my sites have underscores linking keywords rather than hyphens (keywords_and_keyword rather than keyword-and-keyword). Possibly from a time before I knew hyphens were preferred... One of the pages ranks well, and drives a good amount of traffic. The others do not do so well, but are still within the top 10 landing pages for the site. Is it worth me changing the underscores to hyphens (setting up 301 redirects first of course) or doesn't it make that much difference?
On-Page Optimization | | Jingo010 -
Can someone please help me identify where all these URLS to my homepage are coming from?
Hi. I installed the SEOmoz toolbar for Firefox, and analyzed my home page, then clicked on 'get a full site analysis at Site Explorer'. This is what came up: http://www.opensiteexplorer.org/www.frs-solutions.com%252Fcontent%252Fhome/a!links?src=mb I hope that link works. If not, the URL is www.frs-solutions.com Anyway, there are about 57 different URLS within my site all pointing to my homepage! I have no idea where they are coming from. Can someone with an experienced eye take a quick look and tell me what I might be up against? Thank you!
On-Page Optimization | | aprilm-1890400