SEO Friendly URL for search keywords
- by Kyojimaru
I have a website where you can search for a brands, item, and content inside my web. It was designed with tab for each search type, but I want to make the url when changing the tab user friendly and good for SEO.
Is it better to have a url for search result like this
www.example.com/search/{search_keyword}/{tab}
or
www.example.com/search/{search_keyword}?tab={tab}
or
www.example.com/search/?search={search_keyword}&tab={tab}
where {search_keyword} is the keyword that user input, and {tab} is either brands / item / content, because when I look at facebook, stackoverflow, and some other website, they use query string for their search keyword
Edit
My past url is only www.example.com/search/{search_keyword}, and I just added the tab design recently. Consider that I should go with option 1 from the above option, should I make www.example.com/search/{search_keyword} the default for 1 of the 3 tab, and make the other 2 tab with www.example.com/search/{search_keyword}/{tab} to retain the score for the page, or should I make all the tab url with
www.example.com/search/{search_keyword}/{tab}
and use a permanent redirect from www.example.com/search/{search_keyword} to one of the url tab