: What is the best file extension for an SEO friendly URL? I'm working for a website to convert the website URL to an SEO friendly URL. I plan to use this: example.com/category-name/pageid-123-page-name
I'm working for a website to convert the website URL to an SEO friendly URL. I plan to use this:
example.com/category-name/pageid-123-page-name
I looked at some similarly categorized, highly ranked websites. They have the same structure, except for one thing. In one case, the URL format was
example.com/category-name/pageid-123-page-name.html
Another was
example.com/category-name/pageid-123-page-name.php
Now I know the text in URLs help with SEO. Is it more helpful to have a file extension? If yes, which one is better?
Or if my current plan is okay, will it be better with a / at the end?
More posts by @XinRu657
3 Comments
Sorted by latest first Latest Oldest Best
Including or not the extension is not the most important point for SEO. Content, clean and semantic markup, meta description, title.... these things weight more.
However, if you are intending to optimize your URLs (what isn't a bad thing at all), think on users first (as for everything).
Your plan is:
mysite.com/category-name/pageid-123-page-name
I suggest something even more friendly, like:
mysite.com/category-name/page-name
Unless you are using a industry made solution, coding a routine in php to handle those request should not be a huge challenge.
Ah, and don't get worried about every single minor difference between you and other sites. If you think the way you do is better for your users, go ahead in your own way. You probably is making better and getting ahead of them.
The difference in ranking caused by file extensions and slashes in URL's is minimal. Choose whatever is easiest for you to work with (for example if you have to wrestle with a CMS)
The reasons the competition ranks higher than you do will be content and the number/quality of links pointing to those sites.
URL, they matter a lot less in comparison to what the content it contains.
No matter how much detailed you make your URL, if the content you put inside like <title>, <h1>, <h2>, etc. is meaning less, your page will not rank higher.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.