Jump to content

Page URL changes when page is saved.


PCuser
 Share

Recommended Posts

I'm working on a site where there are a number of artists selling paintings. Some are abstract and untitled pieces.

The tree structure is pretty simple:

Home
      - ART
            - Artist's Name
                   - Untitled 1
                   - Untitled 2
                   - Painting Name

When I edit the contents of the page, say Untitled 1, and edit the fields, or just hit 'Save', the URL changes from /Untitled-1 to /Untitled-1-20 and increments ( /Untitled-1-21, /Untitled-1-22...) from there each save. I can change it back to /Untitled-1 manually, but it reverts each time also I make any changes to any of the fields.

Is there a way to override this? It only happens with the Untitled # pages. Thank you

  • Like 1
Link to comment
Share on other sites

34 minutes ago, wbmnfktr said:

Are there any modules or hooks in place that could be responsible for that behaviour?

How do you create those painting-pages?

Which version of ProcessWire do you use?

I just tried to reproduce that behaviour but without success.

- Not that I'm aware, pretty standard stuff, nothing custom.
- From the Page tree, hover over the artist, select 'New' and I create the child page. The issue starts from the moment the page is created.
- The latest (dev) but this started months ago when I was on the latest production release.

18 minutes ago, Robin S said:

I've opened a GitHub issue for this: https://github.com/processwire/processwire-issues/issues/666

Thanks, this issue really has been the devil for me to.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...