Adding .html To Wordpress Site
-
I am working on a team (my part is the SEO) where the developer added the .html extension to the permalinks. I don't understand why, on Wordpress, you would do this.
Is there any benefit, or penalty for it as an SEO standpoint?
I usually just set mine up %postname% as the permalink structure, but I am not the web design lead on this project.
I asked the designer why, but he seems to be reluctant to answer any of my emails about his work, (like he is above that or something).
Not wanting to make things worse, I dropped it and thought I would ask here since I saw a few posts in reference to it today in the forum.
Is there an advantage or disadvantage (either way) to using the .html extension on a Wordpress site?
-
There is no advanage, but there is disadvanatges.
There s the fact that now you have a 301 redirect to the new url. every 301 redirecte leaks link juice.
there is also the conversion factor, where you really want clear clean data, haveing the .html makes things look that little bit messy.
Most people rewite the other way for this reason, to get rid of the extentions.
Try uising the old url, does it work?
I dont use wopprdpress of develop in php, but php being a server side technology, the webserver will need to know that the page is php. So i assume what the dev has done is rewite the urls, so when .html is used, it rewrites to a url that the web server can understand. When you do a rewite you need to do a 301 redirect from the old url to the new url so that you dont get duplicate contnet, you can not have both redering the same content. UYou also need to change every internal link on the site so that they link directly to the new url, you dont want your internal links going thougth a 301 as they leak link juice, leaking link juice on internal links that you have full control over is an un-necessary waste.
See http://thatsit.com.au/seo/tutorials/friendly-urls-using-url-rewrites-with-iis
This is for Microsoft IIS serrver, but the concept is the same
-
My guess is either developer preference or lack of knowledge. Joomla is the same way. You can have domain.com/about or domain.com/about.html - both accomplish the same thing, one takes an extra step to do (adding the .HTML suffix.)
I guess if you are coming off of an old static HTML site and moving to a CMS, including the .html would allow you to keep the same URL structures much easier than setting up 100s of redirects.
-
Then I guess I would ask why? Why would you setup a wordpress (new installation) blog to have .html extension? You have to go out of your way, as the default is to not have it.
Just old school? If there is no benefit, I just wonder why I guess.... but not that it matters much.
-
Nope, either should be fine. The biggest thing to remember is if you change any URL structure, setup 301 redirects to go from the page's old URL to the new URL.
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
-
Query on Site Architecture
Hi All, When I check on my ecommerce site in one of the architecture tool in that my Ecommerce Homepage interlink with 765 pages whereas when I check few competitors and big brands then there homepage linked with 28 pages, 33, 47, 57 etc not like my site 765 pages. Do I am wrong anywhere? Can you please check the screenshot of mine & one of the competitor's site architecture? Because as per me site architecture also play good role in google organic ranking. vXs5dh2 16wre
Technical SEO | | pragnesh96390 -
Site hacked in Jan. Redeveloped new site. Still not ranking. Should we change domain?
Our top ranking site in the UK was hacked at the end of 2014. http://www.ultimatefloorsanding.co.uk/ The site was the subject of a manual spam action from Google. After several unsuccessful attempts to clean it up, using Securi.net and reinstating old versions of the site, changing passwords etc. we took the decision to redevelop the site. We also changed hosting provider as we had received absolutely no support from them whatsoever in resolving the issue. So far we have: Removed the old website files off the server Developed a new website having implemented 301's for all the old URL's (except the spam ones) Submitted a reconsideration request for the manual spam action, which was accepted. Disavowed all the spammy inbound links through Webmaster Tools Implemented custom URL parameters through Google to not index the SPAM URLs ( which were using parameters) Our organic traffic is down by 63% compared to last year, and we are not ranking for most of our target keywords any longer. Is there anything that I am missing in the actions I have taken so far? We were advised that at this stage changing domain and starting again might be the way to go. However the current domain has been used by us since 2007, so it would be a big call. Any advice is appreciated, thanks. Sue - http://www.ultimatefloorsanding.co.uk/
Technical SEO | | galwaygirl0 -
Duplicate Content within Site
I'm very new here... been reading a lot about Panda and duplicate content. I have a main website and a mobile site (same domain - m.domain.com). I've copied the same text over to those other web pages. Is that okay? Or is that considered duplicate content?
Technical SEO | | CalicoKitty20000 -
Way to spider Wordpress site
I have an old Wordpress site and I want to move it to a new server and take it off Wordpress (too many hacks). I am trying to spider the site so as to get static, non-Wordpress, pages. I am having trouble doing this. When I spider the site, it changes the URLs. For instance, if the URL is www.domain.com/page/ the URL I get out of the spider is /page/index.html And those are not the URLs in the search engine indices. There are about 2000 pages on this site, so it is not feasible to set up 301 redirects. I tried using these spidering programs: WinHTTack Website Copier and PageNest Does anyone know of another method of turning a Wordpress site into a non Wordpress site?
Technical SEO | | DanCrean0 -
See your sites Architecture
Does anybody know a problem where you can see how your internal linkings look to the search engines?
Technical SEO | | ScottBaxterWW0 -
True HTML
It might sound like a dumb question but can someone provide me a technique to determine if the navigational links of a website is true HTML? Thank you!!
Technical SEO | | Ideas-Money-Art0 -
What keywords should i be using to promote my site
Hi i am looking to promote my home page which is a lifestyle magazine www.in2town.co.uk and i am not sure what keywords i should be using to promote it. I am doing ok for the keyword lifestyle magazine but i am struggling on what other keywords i should be using to get people to the home page of the magazine. The magazine is nearly finished and we still have a couple of finishing touches to do but the basics of the magazine is as follows holiday and travel news, soap gossip, celebrity gossip, product reviews, lingerie brands, gastric band hypnotherapy, health, fashion and beauty and holiday reviews. I want the home page to be the main page where everyone visits but i am not sure what i should be doing to accomplish this. Any ideas would be of a great help
Technical SEO | | ClaireH-1848860 -
Subdomains at Yola, Blogger, Wordpress
If the purpose of constructing a site or blog is for SEO ie a linking microsite, is it better to keep as a subdomain or to register on its own domain. The question is how much of the Domain Authority of that site will flow through the subdomain to linked site. I note that these subdomains have PA of 1, does this answer my own question?? Thanks eg widgets.yolasite.com or widgets.wordpress.com
Technical SEO | | seanmccauley0