Support » Plugin: External Videos » Permalink URLs

  • Hello and first of all a big kudos for a very nice and useful plugin!

    While it has a few shortcomings (i.e there’s no possibility to set a default video size), there is one matter that stands out: the video links don’t follow the WordPress settings for permalinks. I’m using the “year/month/date/postname” format for all my posts, but External Videos still uses addresses like “?post_type=external-videos&p=148”.

    I tried using the “year/month/date/postname” format with a video post created by External Videos, and it worked just fine (!), but the address got changed to the wrong format again after the page had loaded.

    Is there anything to do about it?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author silviapfeiffer1

    (@silviapfeiffer1)

    Hmm, I believe this is a matter for the post type extension framework that WordPress provides. I certainly am doing nothing in my code to change / redirect URLs.

    Okies, I believe I got it sorted out with help from another thread: http://wordpress.org/support/topic/custom-post-types-permalinks-404?replies=15

    Apparently there’s a “rewrite” argument that needs to be set to at least “true” when registering a new post type. Now on with resizing videos, hehe.

    Plugin Author silviapfeiffer1

    (@silviapfeiffer1)

    Let me know when you got it working and send me a patch. I’d be more than happy to apply it.

    Is there an update coming with this patch/feature?

    Apparently not 🙂
    I’ve got the same problem, I can’t apply the plugin to a specific page without renaming it “External Videos”, and the post doesn’t appear in my archives. Trying to get a solution by myself but if you have one, i’ll be “more than happy to apply it” too 😉

    Plugin Author silviapfeiffer1

    (@silviapfeiffer1)

    I’ve removed the “rewrite” parameter from the register_post_type function, so hopefully it should just work now (after the next release).

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Permalink URLs’ is closed to new replies.