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
-
PWA for Desktop Site (Ecommerce)
Hi Folks, Need guidance about using PWA on desktop site. As I know PWA is basically used for mobile site to engage visitor more and let them surf your site like an app. Would it be good SEO practice to use PWA on desktop site(E-commerce site) by calling everything through Javascript and let google Crawler cache only site logo and Hide everything else?
Technical SEO | | Rajesh.Prajapati1 -
What Can I Do To Improve The SEO of My Site?
We have a website that is ranking okay but we can't seem to get past #6 or #7 for a specific national keyword, "self storage software". We are working on a more effective back-linking strategy right now, but we really are having a hard time identifying steps to take besides that. If anyone can help me out and give me some suggestions I would be very appreciative. Maybe even seeing a competitive analysis from someone else would help catch something that I am not seeing. Website is www.storageunitsoftware.com Thanks in advance.
Technical SEO | | kenturley0 -
Internal Ads on A Site
We serve ads on our site using a sub-domain. All ads use a re-direct from ads.domain before redirecting users to the proper, normal, internal url. Most the content on our home page is ad block driven. Is it possible and does it make sense to enter the sub-domain as url parameter in Google Webmaster tools, letting Google know that this is something to be ignored. Many thanks
Technical SEO | | CeeC-Blogger0 -
Site not indexing correctly
I am trying to figure out what is going on with my site listings. Google is only displaying my title and url - no description. You can see it when you search for Franchises for Sale. The site is www.franchisesolutions.com. Why could this happen? Also I saw a big drop off in a handful of keyword rankings today. Could this be related?
Technical SEO | | franchisesolutions0 -
How to move a site slowly
I've got a site that I started back in 2001 (www.jaaroncaststone.com) to sell what I was making, concrete countertops and sinks. Well we're going to be discontinuing the concrete products in a month or so and want to start pointing all the links from the old site to a new one dedicated to a single product (www.jaaron-wood-countertops.com). I don't want to do a full 301 on the old site just yet but can I put a canonical tag on the index and about us pages pointing to the new site now so the search engines start looking that way or should I wait and do a full 301 when the day comes to pull the old site?
Technical SEO | | JAARON0 -
Site command
How reliable is site command? Is there any other way to check indexed pages.
Technical SEO | | gmk15670 -
Why Does this Site Rank for so Many Keywords?
I was doing some research today and kept coming across this site sylvane.com I checked OSE and found that it only has a DA of 37 PA of 35, and only 79 linking domains (966 links total). I got to looking and there are a few links like this http://lulala.us/twxoops/html/userinfo.php?uid=303 Anyway, accroding to SEMRush, this site ranks for over 6,000 keywords. I ran content on a couple of their high ranking pages and the content is not unique, at least not very unique on the pages I checked. What is so special about that site that google is giving it so much love? I am not trying to call them out, I just want to know what this site is doing to garner the favor of google when I have a site in the same niche with a higher DA, PA, linking domains, and social signals.
Technical SEO | | CharlesMontgomery0 -
The course of action to move my macro site to some mini sites- justin if you can help
We have a site that we want to break up into mini sites but keep the old site for the major brands. Empirecovers.com is the major and we want to break it off into Empire Truck Covers and Empire Boat covers. What I am thinking of doing is linking from the home to Empiretruckcovers.com instead of a mini page on the site and 301 redirect the mini page to empiretruckcovers.com. Than (there wont be duplicate content) making a small page for truck covers on empire just so people do not get confused. Is this the best way to go or what do you suggest? We are doing this because I feel there is seo value in having mini sites and also the user experience will be cleaner and people will trust it a lot more than inside a big site. The other problem is I have some great rankings on the pages so I want to do it so there is as little damage as possible. I guess once I start I will do all the free directories, yahoo directory and try to get links as fast as I can. Any suggestions would be great. I am going to do a/b testing to see if my adwords convert better on mini site or on the big site for certain keywords too
Technical SEO | | goldjake17880