I’m working with a WordPress and I want to know if isn’t to hard to do this.

Suppose that I have a page Fruits, and inside the page It has 2 sections, one is banana and the second-one is apple.

If I look for Fruits, banana or apple in the search form, it will return just the fruits page:

Fruits -> the link goes to www.mypage.com/fruits

But the behavior that I need is when I look, for example, for banana, which could return:

Fruits – Banana -> The link would go to www.mypage.com/fruits?banana, and then the page would anchor to the banana section (With the help of a script that I already have).

So, my questions are:

  • What could I do If I need this group of links?

    www.mypage.com/fruits?banana

    www.mypage.com/fruits?apple

    www.mypage.com/fruits?pear

  • What could I do to select them in the search engine in the same way I select custom post types?(Im using Ajax Search Pro).

Read more here: WordPress. How to look for the same page but different url parameter?


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: