Extensions Vs Non Extensions
-
Hello,
I'm a big fan of clean urls. However i'm curious as to what you guys do, to remove them in a friendly way which doesn't cause confusion.
Standard URLS
http://www.example.com/example1.html
http://www.example.com/example2.html
http://www.example.com/example3.html
http://www.example.com/example4.php
http://www.example.com/example5.phpWhat looks better (in my eyes)
http://www.example.com/example1/
http://www.example.com/example2/
http://www.example.com/example3/
http://www.example.com/example4/
http://www.example.com/example5/Do you keep extensions throughout your website, avoiding any sort of confusion and page duplication;
OR
Put a canonical link pointing to the extension-less version of each page, with the anticipation of this version indexing into Google and other Search Engines.
OR
301 Each page which has an extension to an extension-less version, and remove all linking to ".html" site wide causing errors within software like Dreamweaver, but working properly.
OR
Another way? Please emphasise
I'm sorry if this is a little vague and I appreciate any angles on this, I quite like clean url's but unsure a hassle-less way to create it.
Thanks for any advice in advance
-
Thanks for your answer on this,
I think this will be the right road to go down.
Alex
-
Hi,
Yes, 301s is the best way to get search engine forget about your past URLs.
.html are not good clean urls, so if you can, get rid of them
However, I cannot help you with Dreamweaver issues, I don't use it... Hope someone can help you with it.
Best,
-
Thanks Benoit!
I'm wanting to keep the clean urls, so would you say 301s are the best way to combat this? As well as deleting all of the ".html" references within my website? Even though it would throw up errors within Dreamweaver etc?
-
Hi,
Good point. As I see it, website visitors do not care about the extension ".something", this is just a development issue. So the best way is to avoid it, as people will remember the URL, not the extension.
Best is to use 301 redirection and keep clean URL, there is no need to keep duplicate pages.
Let me know if that helps
Best,
- Benoit.
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
-
More internal links pointing to internal page vs homepage
I was looking at our GSC internal links section and I saw that we have 901 internal links going to our compare rates form and 890 going to our homepage. At the end of most of our content I add a call to action to our compare rates form. Is this SEO friendly or should I have more pointing to the homepage and less pointing to our compare rates page?
Intermediate & Advanced SEO | | LindsayE0 -
Onsite SEO vs Offsite SEO
Hey I know the importance of both onsite & offsite, primarily with regard to outreach/content/social. One thing I am trying to determine at the moment, is how much do I invest in offsite. My current focus is to improve our onpage content on product pages, which is taking some time as we have a small team. But I also know our backlinks need to improve. I'm just struggling on where to spend my time. Finish the onsite stuff by section first, or try to do a bit of both onsite/offsite at the same time?
Intermediate & Advanced SEO | | BeckyKey1 -
New Domain Vs. Existing Domain
Hello, A potential client of mine has been blacklisted because of bad SEO process basically they have over 1,500 toxic links on their site. They have penalised to such an extent that they are now on page 12 for most of their keywords and not ranking well on brand terms either. They are keen to on to a new domain entirely and ditch their current domain when we design their new site. I wanted to get people's opinion on whether this is the best course of action or should we try to salvage the current domain? Many thanks, Mat
Intermediate & Advanced SEO | | Barques-Design0 -
Broken sitemaps vs no sitemaps at all?
The site I am working on is enormous. We have 71 sitemap files, all linked to from a sitemap index file. The sitemaps are not up to par with "best practices" yet, and realistically it may be another month or so until we get them cleaned up. I'm wondering if, for the time being, we should just remove the sitemaps from Webmaster Tools altogether. They are currently "broken", and I know that sitemaps are not mandatory. Perhaps they're doing more harm than good at this point? According to Webmaster Tools, there are 8,398,082 "warnings" associated with the sitemap, many of which seem to be related to URLs being linked to that are blocked by robots.txt. I was thinking that I could remove them and then keep a close eye on the crawl errors/index status to see if anything changes. Is there any reason why I shouldn't remove these from Webmaster Tools until we get the sitemaps up to par with best practices?
Intermediate & Advanced SEO | | edmundsseo0 -
Shared Hosting Vs VPS Hosting
From an SEO perspective what are the advantages of VPS Hosting VS Shared Hosting for a local website that has less that 200 pages and gets max 2000 hits per month? Is VPS Hosting worth the extra expense for a local Real Estate Website?
Intermediate & Advanced SEO | | bronxpad0 -
If your site has used www for the last few years is it a good idea to direct to non www?
I had a website moved to wpengine lately and when the developer set it up on wpengine he used http://example.com/. For the last few years the site has been directing to http://www.example.com/ Should I redirect the site to http://www.example.com/ to avoid losing indexed pages and google rankings?
Intermediate & Advanced SEO | | webestate0 -
Local results vs Normal results
Hi everyone, I am currently working on the website of a friend, who's owning a French spa treatment company. I have been working on it for the past 6 months, mostly on optimizing the page titles and the link building. So far the results are great in terms on normal results : if you type most of the keywords and the city name, the website would be very well positioned, if not top positioned. My only problem is that in the local results (Google Maps), nothing has improved at all. In most of the same keyword where the website is ranking 1st on normal results, the website doesn't appear at all on the same keywords in local results. This is confusing as you would think Google think the website is relevant to the subject according to the normal results but it doesn't show any good ones in a local matter. The website is clearly located in the city (thanks to the pages titles and there's a Google Map in a specific page dedicated to its location). The company has a Google Places page and it has positive customers reviews on different trusted websites for more than a year now (the website is 2 years old). I focused my work concerning the link building on the local websites (directories and specialized websites) for the past 2 months. The results kept improving on normal results but still no improvement at all in the local ones. As far as I know, there is no mistakes such as multiple addresses for the same business etc. Everything seems to be done by the rules. I am not sure at all what more I can do. The competitors do not seem to be working their SEO pretty much and in terms of linking (according to the -pretty good- Seomoz tools), they have up to 10 times less (good) links than us. Maybe you guys have some advice on how I can manage this situation ? I'm kind of lost here 😞 Thanks a lot for your help, appreciate it. Cheers,
Intermediate & Advanced SEO | | Pureshore
Raphael0 -
.co vs .com
hello Mozzers. question - does it make a big difference between having a .co vs a .com . I am tryign to get a URL, with the actual keywords in the URL . for example blackboots.com/ I see that the .com is taken but the .co is available, is it a good idea to buy it? also what about hyphens in urls - do they hurt or help if you actually have the keywords in the url. thanks much - you rock, V
Intermediate & Advanced SEO | | vijayvasu0