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
-
To avoid the duplicate content issue I have created new urls for that specific site I am posting to and redirecting that url to the original on my site. Is this the right way to do it?
I am trying to avoid the duplicate content issue by creating new urls and redirecting them to the original url. Is this the proper way of going about it?
On-Page Optimization | | yagobi210 -
How to rank in Google during domain name search?
We have received one requirement for this website. http://www.coldcasebeer.com/ We would like to rank in Google during domain name search. If we are going to search following search terms in Google then We are not able to see this domain on first page of Google search result. cold case beer coldcasebeer We have done quick research on this issue. And, We have decided to implement following tasks to make it happen.But, We are quite excited to read certain inputs on this question from experts! 1. Upload default Robots.txt file 2. Verify website on Google webmaster tools 3. Set up USA region on Google webmaster tools 4. Submit Google crawl request on Google webmaster tools 5. Title tag and Meta description optimization for all pages (There are 5 pages only on website) 6. Audit Google local listing 7. Develop quality links with domain name
On-Page Optimization | | CommercePundit0 -
Should I be using the town or city in url with my keyword or keyphrase?
should I be using the town or city in url with my keyword or keyphrase? So lets say I'm trying to rank for butchers in home town should i put the town in the url as well so www.website.com/butchers-in-mytown is that bad? Or would it be best to just put www.website.com/butchers?
On-Page Optimization | | genkee0 -
Optimize URL
Hello, My website have been running over five years. I have just reviewed and seen some URLs had not good. It is http://www.vietnamvisacorp.com/faqs/who-need-visa-to-vietnam---1.html, containing characters "---1". Should I remove unnecessary characters "---"?. Thanks for any advice!
On-Page Optimization | | JohnHuynh0 -
Making a subdomain more search engine friendly?
I have a volusion website, and I cannot have a subdirectory, it must be a subdomain. Is there anything I can do to optimize this subdomain to make it more search engine friendly?
On-Page Optimization | | SKMEIS0 -
Seo-friendly way to post blog content to homepage?
We have an e-commerce website. We would like to feature content from our blog on the site's homepage (both on same domain). The content we want to feature is latest posts titles (say 5) plus the few first lines from each post. We want search engines to be able to read this content. Is there a SEO friendly way to achieve this? Thanks in advance.
On-Page Optimization | | gerardoH0 -
Seomoz tabbed search
Hi, this question might not be SEO specific but i was wondering how seomoz implemented a direct search from the chrome omnibox (you write www.seomoz.org and the press TAB)? BR Carl
On-Page Optimization | | careeron0 -
If a site has https versions of every page, will the search engines view them as duplicate pages?
A client's site has HTTPS versions of every page for their site and it is possible to view both http and https versions of the page. Do the search engines view this as duplicate content?
On-Page Optimization | | harryholmes0070