Webmastersite.net
Register Log In

Aliased links in search

Comments on Aliased links in search

webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Posted Apr 28, 2007 - 9:27 AM:

I have created a search form that allows people to search for a specific service within any county of the UK. The counties are categories, the services are a links field.

The search form (cut down version) looks like this...

<input type="hidden" name="serviceslistcondition" value="and" />
<select name="serviceslistsearch">
<option>1 hour lessons</option>
<option>1.5 Hour lessons</option>
<option>2 Hour Lessons</option>
</select>
 In:
<input type="hidden" name="catidcondition" value="=" />
<select name="catidsearch">
<option value="47"> Aberdeenshire</option>
<option value="48"> Angus</option>
<option value="94"> Antrim</option>
</select>
<input type="submit" value="Search" class="button">
</form>

Now if someone adds a driving school to the Aberdeenshire category, and aliases the link to the Angus category, and selects that they provide 1 hour lessons...

...and a user searches for "1 hour lessons in Angus", why does their link not come up? is it because it is just aliased to that category? If so, is there a way to make links come up in a search for a category, even if they are just aliased to that category?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 28, 2007 - 7:58 PM:

Aliases aren't searched, since that would open up the possibility of the same result showing multiple times. I'll make an exception for searches which specify catid.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.