Using the * .html extension in dynamic UR for SEO

My situation. I have a project that is planned to be built on ASP.NET MVC 2. And one of the main requirements is SEO optimization. The client wants to use static URLs, which ultimately with the .html extension for this project make the URLs more SEO friendly. For instance. "mysite.com/about.html" or "mysite.com/items/getitem/5.html, etc.

I wonder if there is any benefit from the SEO perspective to use the .html extension in dynamic URLs? How effective are Google and other search engines with these URLs?

+4
source share
4 answers

No, the base URL does not matter. If you use dynamic content in .aspx or .html, anyway. If you use ASP.NET content with .html because of the requirements (however silly it may be), I suggest finding an alternative extension (e.g. .htm) for all static content. You do not want your static HTML files to be processed unnecessarily.

As Femaref said, you can use sitemaps to help.

Also, make sure your URL does not change (including variables) if the content is the same. This should not be a problem with MVC.

Edit: In your example: mysite.com/items/getitem/5.html

I assume you originally wanted: mysite.com/items/getitem/5

No extension matters. Since this is not a problem, I would also argue that the extension makes the URL less "clean", and also assumes that there is a file named 5.html in this path, which is obviously not true.

+1
source

Instead, I would use sitemaps, this will allow you to have dynamic content (and use MVC), but still crawl completely.

See: http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=156184 and http://www.codinghorror.com/blog/2008/10/the-importance-of- sitemaps.html

+2
source

Search engines do not care about what your web page extensions look like.

0
source

If everything you do indicates the file type for the page.

  • Can a page be reached?
  • Is there any content?
  • Are there any links to this page?

What bothers the search engine. Any user can create their own solution using custom file extensions for the website and work very well with it.

0
source

Source: https://habr.com/ru/post/1309216/


All Articles