Mobile app version of vmapp.org
Login or Join
Bethany197

: What's better for SEO folders or filenames? I was wondering which of this two possibilities may be better for SEO. Let's take The Sitemap Paradox as an example. What would you reccommend: https://webmasters.stackexchange.com

@Bethany197

Posted in: #Seo

I was wondering which of this two possibilities may be better for SEO.

Let's take The Sitemap Paradox as an example.

What would you reccommend:
webmasters.stackexchange.com/questions/4803/the-sitemap-paradox

which actually is:
webmasters.stackexchange.com/questions/4803/the-sitemap-paradox/index.asp

or would you recommend (SOMETHING LIKE):
webmasters.stackexchange.com/questions/4803/the-sitemap-paradox.asp

I know the stack exchange sites have an excellent SEO, but could you point to some documentation about this topic in particular?

Thanks in advance.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Bethany197

1 Comments

Sorted by latest first Latest Oldest Best

 

@Yeniel560

This is pretty much a duplicate question, but I think I should help clear some things up. The three URLs you mention are not equivalent; they are different URLs. There is no file index.asp located in the folder /questions/4803/the-sitemap-paradox/ - in fact there is no folder at all!

The thing you need to remember is that URLs do not necessarily correspond to absolute file/folder names on the server. On the most basic configuration they do, but most sites nowadays use rewrites to remove file extensions and improve SEO with keywords.

In the case of Pro Webmasters, the server sees a request for that URL, then looks up the ID in the database and displays the content. For example it could pass the variables questions and 6392 to a script, say /index.asp that does that processing. (On all the Stack Exchange sites, the part after the question ID is completely ignored, you can change it to anything and the same question will load.)

Finally, to answer your actual question: it doesn't really matter. Create URLs that are nice for users - this means short and descriptive URLs where possible. When you look at the URL for this page you can instantly see what to expect: a webmaster question about whether folders or filenames are better for SEO.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme