wp-posts-to-posts icon indicating copy to clipboard operation
wp-posts-to-posts copied to clipboard

Page to page connection for one-to-many child-parent relationship, permalink issues

Open paulcanning opened this issue 8 years ago • 0 comments

OK, so I have got the plugin installed and added a connection type for a page to page connection.

The aim is to have a one-to-many relationship where a particular page can sit under many parent pages.

Example:

  • Parent 1
    • Child 1
    • Child 2
  • Parent 2
    • Child 3
    • Child 1

As you can see, Child 1 is a child of both Parent 1 and 2.

Now, when the Child page is created, I can initially place it under Parent 1, so the permalink is http://www.mydomain.com/parent_1/child_1

I then connect the Child 1 page to Parent 2.

Ideally, I would now like to use the following permalink as well: http://www.mydomain.com/parent_2/child_1

It seems to work, but redirects me to the first link, rather then use the URL I entered.

Is there a way to allow http://www.mydomain.com/parent_2/child_1 to work, without redirecting?

paulcanning avatar Jun 28 '16 10:06 paulcanning