Html extensions
-
I have remodeled an old html site using wordpress.
I see some instructions in wordpress that says I can add an .html extension to some of the pages, but it looks pretty complicated. Is there any benefit in going through that hassle? or should I just ask my web guy to rewrite via htaccess
|
https://sacramentotop10.com/Weddings/Dresses.html
|
https://sacramentotop10.com/Weddings/Dresses.html
becomes
-
I wanted to reinforce with Martijn and Gaston had said. I would just have your web person 301 redirect the old URLs to the new URLs. I would add to keep an eye out for any stray URL's that you may have missed in the Search console and redirect those too. They tend to pop up 1-2 weeks after a site move. Thanks!
-
Thank you both! You saved me a ton of work!
-
Hi Julie,
I can confirm what Gaston says, there is no additional value in changing the extension (or adding one) on files. In the end, it's not something that Google pays any attention nor adds any value to. That's why I would rather focus my energy on any of the other dozens of factors that do play a role in ranking higher.
Martijn.
-
Hi Julie,
Hope you're well.Besides what many people say, there is no gain in removing it.
Also, officially Google, via John Mueller, said that removing .html doesn't matter. And they made a video!
Will removing “.html” from my URLs help my site? - SEO SnippetsHope it helps.
Best luck.
GR
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
-
.ASPX extension - individual redirects per page or....?
We have a few pages that have visible .aspx extensions. I am not as concerned with them showing as I am with the following: https://www.example.com/company.aspx - goes to Company page
Technical SEO | | MichaelEka
https://www.example.com/company - goes to homepage (should go to company page) My dev tells me that the only way to get these two pages to go to the same place would be to set up individual redirects. Is he right? That seems like it could be detrimental to SEO. Is there other code to manage this? Thanks folks.0 -
Duplicate page content - index.html
Roger is reporting duplicate page content for my domain name and www.mydomain name/index.html. Example: www.just-insulation.com
Technical SEO | | Collie
www.just-insulation.com/index.html What am I doing wrongly, please?0 -
How best to deal with www.home.com and www.home.com/index.html
Firstly, this is for an .asp site - and all my usual ways of fixing this (e.g. via htaccess) don't seem to work. I'm working on a site which has www.home.com and www.home.com/index.html - both URL's resolve to the same page/content. If I simply drop a rel canonical into the page, will this solve my dupe content woes? The canonical tag would then appear in both www.home.com and www.home.com/index.html cases. If the above is Ok, which version should I be going with? - or - Thanks in advance folks,
Technical SEO | | Creatomatic
James @ Creatomatic0 -
How best to deal with www.home.com and www.home.com/index.html
Firstly, this is for an .asp site - and all my usual ways of fixing this (e.g. via htaccess) don't seem to work. I'm working on a site which has www.home.com and www.home.com/index.html - both URL's resolve to the same page/content. If I simply drop a rel canonical into the page, will this solve my dupe content woes? The canonical tag would then appear in both www.home.com and www.home.com/index.html cases. If the above is Ok, which version should I be going with? - or - Thanks in advance folks,
Technical SEO | | Creatomatic
James @ Creatomatic0 -
Canonicalization of index.html - please help
I've read up on the subject but am new at this so I thought I would just put forth a simple question. We want our home page to be referred to as www.domain.com. We want the search engines to find and return this URl in search results. But the page has to have a name and the actual name is NOT to www.domain.com/index.html. This, I believe is what can cause duplicate cotnent issues (not really duplicate but perceived by the serach engines as duplicate content). Is it best to insert http://www.domain.com/" /> in the HEAD section of the index.html page or am I totally misunderstanding this concept?
Technical SEO | | TBKO0 -
HTML 5 and SEO any one seen any change ?
I have seen a few articles regarding HTML 5 and its implications re: SEO Has anyone implemented HTML 5 for SEO? and has there been any discernible impact? http://www.netlz.com/seo-blog/2012/04/09/seo-for-html5/ http://searchengineland.com/seo-best-practices-for-html5-truths-half-truths-outright-lies-99406 https://seogadget.co.uk/xhtml-20-and-seo/
Technical SEO | | Metropolis0 -
URL change extension to .php from .htm
I am looking at changing the platform of an established (7 years) site to PHP based. Currently most of the URLs have the file extension .htm (“x.com/filename.htm” ) with some URLs being indexed as directory URLs (“x.com/directory/” feeding from “x.com/directory/index.htm”) So I am considering two options A. Changing just file extensions & create 301 redirects, (x.com/samefilename.htm” -> “x.com/samefilename.php”) and for directory URLs (“x.com/samedirectory/index.htm” -> “x.com/samedirectory/index.php”) B. At the same time taking the opportunity to change the file hierarchy to be more user / seo friendly by changing all URLs to directory URLs – this would be a more extensive redirect than just changing the file extension. I am interested in what risks / impact would there be of this and the questions I would like some help with are: Are there any short term risks to rankings with a filename extension change like this? Should an exercise like this be staggered or is it ok to carry out the site-wide change in one go? Does a more extensive filename and structure redirect like in option B above introduce more risk than just changing to the .php extension or would the search engines consider this the same? For the directory URLs do I even need a 301 redirect after changing index.htm to index.php or will the Search engines not even recognise a change (indexed URL will remain the same)? Your opinions on the above questions and any other advice / experience you can share would be much appreciated. Thanks, Adrian.
Technical SEO | | Zilla0 -
Micro formats to block HTML text portions of pages
I have a client that wants to use micro formatting to keep a portion of their page (the disclaimer) from being read by the search engines. They want to do this because it will help with their keyword density on the rest of the page and block the “bad keywords” that come from their legally required disclaimer. We have suggested alternate methods to resolve this problem, but they do not want to implement those, they just want a POV from us explaining how this micro formatting process will work. And that’s where the problem is. I’ve never heard of this use case and can’t seem to find anyone who has. I'm posting the question to the Moz Community to see if anyone knows how microformats can keep copy from being crawled by the bots. Please include any links to sites that you know that are using micro formatting in this way. Have you implemented it and seen results? Do you know of a website that is using it now? We're looking for use cases please!
Technical SEO | | Merkle-Impaqt0