Are .html pages better for ranking than .asp pages
-
It seems that .html pages do better for the long tail...
-
I'm not sure they dont matter, i would think that .pdf, .doc and. xps for example would be less usefull than a htm, asp, aspx.
but David is correct, you are better of not haveing a file name.I develop using Microsoft Asp.MVC, there are no file names in MVC
i believe seomoz is also written in MVC, cant remeber what tipped me off to that maybe some one from SEOMoz can confirmMVC also leaves very clean code, no postbacks or viewstate to clog up the code
-
SEs use to devalue for dynamic content, but not anymore. .html might be better for the end user, but that is a small consideration.
-
David's response is accurate. However, you can always rewrite the .aspx URL on the server and serve .html (or whatever). The server will see .aspx, but the visitor will see .html.
Working with ASP
I work strictly with PHP on Linux servers so I'm going to point you to a site that offers a tutorial I can't really vouch for. Head here for a tutorial detailing how to set up .asp to .html rewrites.
Working with PHP
On a Linux box, you can insert the following code into your .htaccess file to set up URL rewriting. I know the question wasn't about PHP and Linux. I'm just including this for others who might find it useful.
RewriteEngine on
RewriteBase /
RewriteRule ^(.*).html$ $1.php [L]If you're interested in further information, here is a resource to help you learn more about working with .htaccess files.
-
The actual extensions don't matter. In fact, you should be using mod_rewrite to remove extensions on all your pages! All it does is add clutter and unnecessary junk to your URL strings. HTML is HTML, it doesn't matter if it's static, created using PHP, or created using ASP!
-
Good thinking, but actually HTML pages are not necessarily static, so I agree with David that it shouldn't make any difference.
-
Thanks, So the search engines do not value one extension over the other...? I thought they might prefer html a little because has all that static code...
-
There is no difference. ASP is just a web programming language that can output HTML code the same way a straight HTML page is HTML or PHP can output HTML. No difference.
If you mean having the actual extension in your URL, there is no difference.
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
-
I am having an issue with my rankings
I am having an issue with my rankings. I am not sure if there are issues with onpage dup content or with the way wordpress is behaving but there is no reason based upon the sites back link profile that the site shouldn't be ranking well. The site is mesocare.org. If anyone can help it would be appreciated.
Technical SEO | | weitzluxenberg0 -
Why are my page titles not being honored?
If you view source you will see my actual title tag http://www.sqlsentry.com/products/performance-advisor/sql-server-performance The google results are showing a completely different title tag that we do not want used. This was working properly and I'm not understanding how it got changed. Thanks!
Technical SEO | | Sika220 -
Keyword place in page HTML code? Higher is better?
Hello, is it important to place keyword more higher in html code Our situation: item page. H1 and all text about this item with keyword mentioned three times is in the end of html code? Competitors pages with info about item, but higher keyword place and description in html code make better in SERPS. Could it be reason? Could we change place of text about item in html code ? Giedrius, Lithuania
Technical SEO | | Patogupirkti0 -
Website ranking went from page one to not in top 50 overnight. Help/suggestions?
One of our customer's websites initially ranked very well. For approximately 3 months it sat atop of Google for their optimized keywords. Suddenly, on November 17th, the ranking dropped and they were no longer in the top 50 for any keywords. We went through Google Webmaster tools and found no violations, so we emailed Google to see if we violated something and if they would reconsider. They responded "We reviewed your site and found no manual actions by the webspam team that might affect your site's ranking in Google." This is a site built on WordPress, so we turned off a majority of plugins in case one was somehow affecting the site. They have an incredible amount of business partners that link their website from their partner's website menus, so they have about 15,000 links all with anchor text "insurance." (every page on partner site is seen as a different link). Think this is affecting it? Maybe Google sees it as artificial? (P.S. This has been set up this way for a while before they came on with us). The site ranks on page one of Bing and Yahoo, but nowhere in top 50 for Google. Any suggestions? Appreciate the help!
Technical SEO | | Tosten0 -
Too many on page links
Hi All, As we all know, having to much links on a page is an obstacle for search engine crawlers in terms of the crawl allowance. My category pages are labeled as pages with to many "one page" links by the SEOmoz crawler. This probably comes from the fact that each product on the category page has multiple links (on the image and model number). Now my question is, would it help to setup a text-link with a clickable area as big as the product area? This means every product gets just one link. Would this help get the crawlers deeper in these pages and distribute the link-juice better? Or is Google smart enough already to figure out that two links to the same product page shouldn't be counted as two? Thanks for your replies guys. Rich
Technical SEO | | Horlogeboetiek0 -
Frequent updating of pages on website to rank better
Will updating each page often for example everyday or few days, rank the page and/or website better in google. The reason I ask is that I made 18 websites about three months ago and the traffic initially was alot higher and has fallen little by little thru the 3 months. Also how well my pages rank has also fallen. I just put out the websites, have done nothing else. No linking, etc. No updates. It is evident that without new links coming in, the website will fall in rank ie., link aquistion velocity But my question is if I update the pages and change content frequently will this improve my position in google and other search engines. The traffic on websites over the three months if graphed sort of looks like a stair case going down.
Technical SEO | | mickey110 -
Do 301 redirects pass page rank quickly
Hi I have been asked to carry out a site audit for a potential client. The site has that many issues I don't where to start in explaining them however, there is one question we are debating and would like to get a second opinion on it. The site I am auditing used to have a homepage rank 7. The site has currently had a redesign (new template with new URLs) and now the root domain 301 redirects to a sub folder two levels deep (not ideal I know!). This happened about a month ago and we are still getting N/A for toolbar page rank. The question is, does Google page rank transfer quicker than normal due to the redirects? or do we still have to wait on the next Google Page Rank update? Thanks in advance Gavelect
Technical SEO | | Equatorites0 -
So I Get An Interior Page To Rank, But Lower. How does that help?
Hi, So, I have a term that would bounce around #3 to 5 for. I make a page some months ago that is solely targeted to that term. And, voila! Google sees the new page as the best result instead of the home page and the new page ranks, but at #9 or #10. Of course the homepage is a stronger page, but the new page is better targeted to that term. Using the handy SEOMoz toolbar, the homepage has a page authority of 59 and the newer interior page has 32. Both are equally functional to my purpose. Part of me just wants to 301 in the interior page to the homepage and forget about it. It would take forever to get that interior page up to a similar page authority through the magic of links. What do you think I should do. I feel like I'm channeling Wile E. Coyote. Thanks! Best...Mike
Technical SEO | | 945010