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.
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
-
Wordpress migration
Hi i wonder if anyone can help. I have migrated my site to a new host, with a temp domain name i.e., http://www.test1.com The current site is still live on another host with the domain name http://www.perfecttest.com The temp site is now ready to do live. but we want to use the domain perfecttest.com a. What is the process to move the domain to the new host and to change the test1.com to be perfecttest.com. I kneo that we need to change the domain perfecttest.com nameserver to point to the new host but i am sure there must be more that need to be done inorder to not have issues. Your help will be grateful T
Technical SEO | | Taiger0 -
Site-wide Links
Hey y'all, I know this question has been asked many times before but I wanted to see what your stance was on this particular case. The organisation I work for is a group of 12 companies - each with its own website. On some of the sites we have a link to the other sites within the group on every single page of that site. Our organic search traffic has dropped a bit but not significantly and we haven't received any manual penalties from Google. It's also worth mentioning that the referral traffic for these sites from the other sites I control is quite good and the bounce rate is extremely low. If you were in my shoes would you remove the links, put a nofollow tag on the links or leave the links as they are? Thanks guys 🙂
Technical SEO | | AAttias0 -
Google Site Search
I'm considering to implement google site search bar into my site.
Technical SEO | | JonsonSwartz
I think I probably choose the version without the ads (I'll pay for it). does anyone use Google Site Search and can tell if it's a good thing? does it affects in any way on seo? thank you0 -
My site is not being regularly crawled?
My site used to be crawled regularly, but not anymore. My pages aren't showing up in the index months after they've been up. I've added them to the sitemap and everything. I now have to submit them through webmaster tools to get them to index. And then they don't really rank? Before you go spouting off the standard SEO resolutions... Yes, I checked for crawl errors on Google Webmaster and no, there aren't any issues No, the pages are not noindex. These pages are index,follow No, the pages are not canonical No, the robots.txt does not block any of these pages No, there is nothing funky going on in my .htaccess. The pages load fine No, I don't have any URL parameters set What else would be interfereing? Here is one of the URLs that wasn't crawled for over a month: http://www.howlatthemoon.com/locations/location-st-louis
Technical SEO | | howlusa0 -
Site Map
For a long time our site map used to be http://www.efurniturehouse.com/sitemap.xml recently our hosting company changed the site map to: http://www.efurniturehouse.com/xml-sitemap.ashx I went ahead and submitted the new site maps to both Google Webmaster and Bing. I submitted the Google one on Monday and it states PENDING. ( A day later this pending) I just submitted the map to Bing. I now have 2 site maps on each. 1)Is having 2 a problem Will they ignore the old site map or can we delete and if so when can we delete I appreciate your input Regards Tony www.eFurnitureHouse.com
Technical SEO | | OCFurniture0 -
How much of an issue is it if a site is somehow connected to a site that was penalized by Google?
I am working with someone that is about to launch a new site, and one of the sites was affected by the Panda update. Does it matter if the two sites are connected? Share the same hosting provider and same Google Webmaster's account?
Technical SEO | | nicole.healthline0 -
Does 301 redirecting a site multiple times keep the value of the original site?
Hi, All! If I 301 redirect site www.abc.com to www.def.com, it should pass (almost) all linkjuice, rank, trust, etc. What happens if I then redirect site www.def.com to www.ghi.com? Does the value of the original site pass indefinitely as long as you do the redirects correctly? Or does it start to be devalued at some point? If anyone's had experience redirecting a site more than once and they've seen reportable good/bad/neutral results, that would be very helpful. Thanks in advance! -Aviva B
Technical SEO | | debi_zyx0 -
What are the pros and cons of moving one site onto a subdomain of another site?
Two sites. One has weaker sales. What would the benefits and problems for SEO of moving the weak site from its own domain to a subdomain of the stronger site?
Technical SEO | | GriffinHansen0