I am in the process of setting up URL(s) for a real estate website and am trying to create an SE friendly pattern. Please suggest the best: (nn & mm are category, subcategory ids that cannot be removed). domain.com/nn/london/mm/flat-for-sale/ domain.com/nn/london/mm/flat-for-sale.html domain.com/nn/mm/london/flat-for-sale/ domain.com/nn/mm/london/flat-for-sale.html domain.com/london/flat-for-sale/nn/mm/ domain.com/london/flat-for-sale/nn/mm.html
Can you add nn-mm within a file name for the regex? I think domainname/london-flat-for-sale-nn-mm.html is the best.
I would say the amount of effort deciding a friendliest url above is not justifiable . Anyone of them will do, concentrates on link baiting.
domain.com/london/flat-for-sale/nn/mm/ Next time to change from html to to php or asp or whatever, you don't need to worry about losing your rankings.
I disagree. It's important to get right because it's hard to change later on. Some reports on Google analytics are borked for my site because I use the format domain.com/nn/mm/london/flat-for-sale/ - the extra 2 levels of folder drilldown is a hassle. Whatever structure you choose, do make sure all URLs are completely lower case, and dash seperated. I prefer without the .html extension on the end - shorter means easier to say over the phone, and no confusion between .htm and .html
Thats true. But unfortunately, my site script (and .htaccess) requires that the category number "nn" should immediately follow domainname, and subcategory number "mm" must be present in the url.