• When I create a module and rename it, the the slug gets funny, either an integer gets appended on the end or something completely different comes out, like “untitled-687”

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @katsar0v,

    hope you’re doing good and thanks for reaching us! ??

    I’ve made some tests and I can see that the module pages are using integer numbers like:
    /my-courses/non-scholae-sed-vitae-discimus/units/unit-ipsum/page/1/module_id/66
    and I wasn’t able to change that.

    Could you please elaborate a bit more on this?
    Please let us know the exact changes you’ve made and which type of module you’re using, as well an example of a module URL, before and after above changes.

    Warm regards,
    Dimitris

    Thread Starter Kristiyan Katsarov

    (@katsar0v)

    Hi, thank you for the reply.

    I have a custom url which is like: course/course-name/unit-1657/module-slug-here/

    Basically I have course /%course-name%/%unit-id%/%module-slug%/ structure, but the module slug seems to be inconsistent, I can as well see this in the database. There is no option to change the slug (post_name) of a single module.

    It could be also my mistake, as I am using custom url structure.

    Thread Starter Kristiyan Katsarov

    (@katsar0v)

    I also noticed: some of the modules have the slug of the other modules. For example: I have a unit with 3 modules, module one, module two, module three. Sometimes module three would have the slug of module one (module-one) for example. Overall the module system and the whole JavaScript that happens there with the saving is not working really well.

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hey there @katsar0v,

    hope all is good for you today! ??

    This should be it then, custom permalinks. Could you please inform me how exactly did you set this for CoursePress?

    Also, let me know what settings you use in:
    CoursePress -> Settings -> General Settings -> Slugs

    so I could try to replicate and forward to our developers.

    Warm regards,
    Dimitris

    Thread Starter Kristiyan Katsarov

    (@katsar0v)

    I did not change anything there. The custom permalinks I achieved are by custom theme.
    I just noticed in the database that sometimes -2 or -3 will be added to the slugs of the single modules, although the titles are not repeating (drafts maybe?)

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hey @katsar0v,

    I hope you’re well.

    Like Dimitris mentioned, I am only seeing module URLs as integers and renaming not changes it. So to see the problem can you guide us?

    First I need to know how did you change permalinks for CoursePress? If you make it with custom coding can you share with us the codes? Or if it’s by some theme feature, please let us know which theme are you using and how we can replicate on our test site?

    Cheers,
    Oguz

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello @katsar0v,

    we haven’t heard back from you for a long time, so I’m marking this thread as resolved. Feel free to post back here, if more assistance is required and we can re-open it. ??

    Warm regards,
    Dimitris

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Module Slugs’ is closed to new replies.