Custom User / URL output
-
Hello,
I have a problem with the output URL shown in the search results. I use a custom field called ‘Shop Name’ in the User profile that builds the URL of the page. For example; websitename.com/brands/example/
But, I create the User via the normal Username method which could be different to the Shop Name. e.g ‘Example UK’
The search result via the search bar outputs the URL as websitename.com/brands/example-uk/ if {USER_NICENAME} is selected. This then would be a 404 page error as this page doesn’t exist. I presume it is selecting the Username for the output.
If I select {USER_NICKNAME} – both Nickname and Shop Name match but again there is problem with the URL output in the search bar as it outputs the URL using %20 in between the words and not ” – ” as above. For example – websitename.com/brands/example%20uk/
Is there any way to select a custom field in the plugin that isn’t a standard WordPress field? or force the results to use ” – ” if Nickname is selected so it doesn’t add %20 for the space between words in the Nickname?
Any help would be appreciated.
Thanks
- The topic ‘Custom User / URL output’ is closed to new replies.