Forum Moderators: coopster
Is it better to have www.example.com/my_keyword/
or www.example.com/my_keyword.php
I would rather not create a new directory but will the search engines index a file .php on the end with as high a standing as something .html?
Also will having a directory with the keyword in the path be better then just having the keyword be in the file name?
Create a directory if you have sub pages in this directory:
example.com/my-keyword example.com/my-keyword/ example.com/my-keyword/index.htm Rewrite php to htm if you have parameters:
example.com/mykeyword.php?a=12&b=123&c=1234 example.com/mykeyword/12-123-1234.php example.com/mykeyword/12-123-1234.htm Keywords in urls are good for back link anchor text and for type in traffic so it's wise to write user friendly, easy to remember and relevant urls.