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
-
Squarespace or Wordpress for a Photographer
Hi, I was wondering if people would recommend squarespace or wordpress for a photographer. I'm mainly curious about how wordpress uses internal links for their images and squarespace images exist on http://static1.squarespace.com. Wouldn't a photographers website, one that focuses on images, be better on wordpress for this readson?
Technical SEO | | mattdinbrooklyn1 -
Any ideas why this site is being penalized?
http://www.my-french-house.com/ has been online since around 2004 and has nearly always been in the top 10 serps for terms like 'property for sale in france'. However, over the last 12 months we've been hit really hard by Google and have fallen dramatically in rank. Can anyone give any insight into what may have happened? As an aside, we've had no message in the Google Webmaster Console and have not contacted Google about the apparent penalty / penalization. Any help or advice would be greatly appreciated. Cheers Jim
Technical SEO | | jimpannell0 -
Redirecting the .com of our site
Hey guys, A company I consult for has a different site for its users depending on the geography. Example: When a visitor goes to www.company.com if the user is from the EU, it gets redirected to http://eu.company.com If the user is from the US, it goes to http://us.company.com And so on. I have two questions: Does having a redirect on the .com will influence rankings on each specific sub-site? I suspect it will affect the .com since it will simply not get indexed but not sure if affects the sub domains. The content on this sub-sites are not different (I´m still trying to figure out why they are using the sub-domains). Will they get penalized for duplicate content? Thanks!
Technical SEO | | FDSConsulting0 -
Removing links from another site
Hello, Some site that I have never been able to access as it is always down has over 3,000 links to my website. They disappeared the other week and our search queries dramatically improved but now they are back again in Google Webmaster and we have dropped again.I have contacted the site owner and got no response and I have also put in a removal form (though I am not sure this fits for that) and asked Google to remove as they have been duplicating our content also. It was in my pending section but has now disappeared.This links are really damaging our search and the site isnt even there. Do I have to list all 3,000 links in the link removal to Google or is there another way I can go about telling them the issue.Appreciate any help on this
Technical SEO | | luwhosjack0 -
Redirecting a old aged site to a new exact match site?
Hi All, I have a question. I have 2 sites with me in the same sector and want some help. site 1 is a old site started back in 2003 and has some amount of links to it and has a pr 3 with some good links to it but doesn't rank much for any keywords for the timing. site 2 is a aged domain but newly developed with unique content and has a good amount of exact match with a .com version. so will there be any benefit by redirecting site 1 to site 2 to get the seo benefits and a start for link bulding? or is it best to develop and work on each site? the sector is health insurance. Thanks
Technical SEO | | macky71 -
What is a fast Wordpress Host?
I have 8 or so sites hosted with Dreamhost and my main web site (http://www.nwrafting.com) is a Wordpress site hosted there as well. I'd like to move it to another hosts so that it isn't seen as related to my other sites that link to it. My other sites are good informational sites (example: http://www.caliriver.com) and are not doorway pages, but they do provide good links to my main business. This is a good idea to move my main sight, right? If so, can someone recommend a good host for me to put my one Wordpress site on? I'm looking for something that will load my pages fast. Please don't send me an affiliate link - I want to choose the best host not the one that pays the biggest commission. Thanks!
Technical SEO | | nwrafting0 -
Which is more accurate? site: or GWT?
when viewing urls in google's index, is it more accurate to refer to site:www.domain.com or google webmaster tools (urls in web index)?
Technical SEO | | nicole.healthline0 -
Site Relaunch
Hello, I recently launched my new site (Nov. 25, 2011) but still have the old site live because I still need old customer data from the old admin for customer service issues and I cannot delete the old front-end without deleting the old back-end!. I am seeing a lot of referrals coming from the old site IP address with many backlinks to the new site but dont know if this is actually hurting the new site due to duplicate content, ect .. Any input would be greatly aaaaaapreciated 😉 Thanks in advance, Byron-
Technical SEO | | k9byron0