I created a content type. I have three fields: title, body, city.
I added two contents.
I can see nodes at:
http://www.example.com/?q=content/we-buy-houses-nj
http://www.example.com/?q=content/we-buy-houses-va
I created a view as following: I added title field first (excluded from display). I selected city field. For rewrite results, change the path to "content/[title]"
Result:
I can see the city field is hyperlinked. When I click each link, I get URL as following and page can not be found:
http://www.example.com/?q=content/We%20Buy%20Houses
http://www.example.com/?q=content/We%20Buy%20Houses
How do I remove the %20 so page can be found in my case?
/admin/config/search/clean-urls
. This will get rid off the?q=
part which is bad for SEO.