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
-
Is my page being indexed?
To put you all in context, here is the situation, I have pages that are only accessible via an intern search tool that shows the best results for the request. Let's say i want to see the result on page 2, the page 2 will have a request in the url like this: ?p=2&s=12&lang=1&seed=3688 The situation is that we've disallowed every URL's that contains a "?" in the robots.txt file which means that Google doesn't crawl the page 2,3,4 and so on. If a page is only accessible via page 2, do you think Google will be able to access it? The url of the page is included in the sitemap. Thank you in advance for the help!
Technical SEO | | alexrbrg0 -
Ranking fluctuation
According to Miles Rank tracking I have a keyword that is fluctuating by 5 or 6 positions in a 24-hour period every time it goes 10 down to 15 and back to 10 again with very little stopping point in between and keeps fluctuating like that. As far as I know the website is stable it uses Magento 1.9 and is a fixed category page. The page URL is relatively new as we migrated from an old site with a different URL structure I added 301s at server level from the old page URL to the new one. There is only two things I can think that can be the problem -
Technical SEO | | seoman10
1. Lack of links directly to the page (there is literally only one or two)
2. Loading speed problem But I don't see any of these would cause a 5 position fluctuation regularly every day. But do you have any thoughts? Thanks in advance.0 -
Ranking overseas
I have a well established website that I market as the busness being based in London, how hard would it be for me to start ranking for phrases in America? (An increasing amount of our work is being carried out in America.) What exactly would it entail? Thanks in advance.
Technical SEO | | onlinechester0 -
Duplicate page content
hi I am getting an duplicate content error in SEOMoz on one of my websites it shows http://www.exampledomain.co.uk http://www.exampledomain.co.uk/ http://www.exampledomain.co.uk/index.html how can i fix this? thanks darren
Technical SEO | | Bristolweb0 -
SITEMAP.asp having 10,000 pages
A website having more than 10,000 pages, as per the Google Algorithm If I restrict the page links to 100 for sitemap.asp then I have to generate 100 pages, any idea to shorten the process. Please advice.
Technical SEO | | younus0 -
Page not Accesible for crawler in on-page report
Hi All, We started using SEOMoz this week and ran into an issue regarding the crawler access in the on-page report module. The attached screen shot shows that the HTTP status is 200 but SEOMoz still says that the page is not accessible for crawlers. What could this be? Page in question
Technical SEO | | TiasNimbas
http://www.tiasnimbas.edu/Executive_MBA/pgeId=307 Regards, Coen SEOMoz.png0 -
Can leaving up old web pages no longer accessible through my site navigation hurt my rankings?
My firm recently overhauled a client's website. As part of the project, we gave the content a new structure, eliminating certain pages and creating several new ones. However, I just found out that some of the "old" pages (the ones we supposedly eliminated) still appear in the Google SERPs. Somehow, the client - who handled the coding - let these pages remain live even though they can no longer be accessed through the site navigation. This seems like something that could hurt the client's SEO rankings, but I want to make sure before contacting the client and suggesting they take down the old pages. Can anyone confirm my suspicion?
Technical SEO | | matt-145670 -
Pages not ranking - Linkbuilding Question
It has been about 3 months since we made some new pages, with new, unique copy, but alot of pages (even though they have been indexed) are not ranking in the SERPS I tested it by taking a long snippet of the unique copy form the page and searching for it on Google. Also I checked the ranking using http://arizonawebdevelopment.com/google-page-rank
Technical SEO | | Impact-201555
Which may no be accurate, I know, but would give some indication. The interesting thing was that for the unique copy snippets, sometimes a different page of our site, many times the home page, shows up in the SERP'sSo my questions are: Is there some issue / penalty / sandbox deal with the pages that are not indexed? How can we check that? Or has it just not been enough time? Could there be any duplicate copy issue going on? Shouldn't be, as they are all well written, completely unique copy. How can we check that? Flickr image details - Some of the pages display the same set of images from flickr. The details (filenames, alt info, titles) are getting pulled form flickr and can be seen on the source code. Its a pretty large block of words, which is the same on multiple pages, and uses alot of keywords. Could this be an issue considered duplication or keyword stuffing, causing this. If you think so , we will remove it right away. And then when do we do to improve re-indexing? The reason I started this was because we have a few good opportunities right now for links, and I was wondering what pages we should link to and try to build rankings for. I was thinking about pointing one to /cast-bronze-plaques, but the page is not ranking. The home page, obviously is the oldest page, and ranked the best. The cast bronze plaques page is very new. Would linking to pages that are not ranking well be a good idea? Would it help them to get indexed / ranking? Or would it be better to link to the pages that are already indexed / ranking? If you link to a page that does not seem to be indexed, will it help the domains link profile? Will the link juice still flow through the site0