New Landing How can we help? Themeforest Theme Support Flexform Portfolio re-write not working anymore

Viewing 15 posts - 1 through 15 (of 30 total)
  • Posted in: Flexform
  • #5357
    Pothe
    Member
    Post count: 336

    Hi
    1.4.2 has fixed many issues. thanks

    Portfolio re-write still not working. Followed the instructions here:
    http://support.swiftideas.net/knowledgebase/portfolio-url-rewrite/

    It used to work but since a few versions ago I get 404 errors on all portfolio pages.

    Permalinks are set to /about-us/ for example..

    Thanks

    #5489
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi,

    If you updated the theme, you will need to do that code change again, as it will get overwritten when updating.

    Regards,
    ————————————————————————————————————

    Cosmin
    Support Assistant

    #5502
    Pothe
    Member
    Post count: 336

    Yes I know. I’ve updated the code and it’s not working.

    #5509
    Cosmin – SUPPORT
    Member
    Post count: 3851

    If this code:

    'rewrite' => true

    is the last line before the array closes with a }, then it must not have a comma after it. Also, make sure the file gets saved and overwritten on your server, sometimes it happens not to.

    Regards,
    ————————————————————————————————————

    Cosmin
    Support Assistant

    #5524
    Pothe
    Member
    Post count: 336

    Hi,
    I am changing this code:
    $args = array(
    ‘labels’ => $labels,
    ‘public’ => true,
    ‘show_ui’ => true,
    ‘show_in_menu’ => true,
    ‘show_in_nav_menus’ => false,
    ‘rewrite’ => false,
    ‘supports’ => array(‘title’, ‘editor’, ‘thumbnail’),
    ‘has_archive’ => true,
    ‘taxonomies’ => array(‘portfolio-category’)
    );

    To:

    $args = array(
    ‘labels’ => $labels,
    ‘public’ => true,
    ‘show_ui’ => true,
    ‘show_in_menu’ => true,
    ‘show_in_nav_menus’ => false,
    ‘rewrite’ => true,
    ‘supports’ => array(‘title’, ‘editor’, ‘thumbnail’),
    ‘has_archive’ => false,
    ‘taxonomies’ => array(‘portfolio-category’)
    );

    AS instructed here:
    http://support.swiftideas.net/knowledgebase/portfolio-url-rewrite/

    Tried with no comma and still get a 404 error

    #5631
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Try changing it to this and keep the comma:

    'rewrite' => array('slug' => 'portfolio'),

    Regards,
    ————————————————————————————————————

    Cosmin
    Support Assistant

    #5724
    Pothe
    Member
    Post count: 336

    Hi,
    Still doesn’t work.
    It’s odd as it used to work, a few versions ago.

    I had redirection plugin installed. I deleted all redirections and the plugin to see if it was that, but no. I also had redirection installed before when it was working.

    #5792
    Cosmin – SUPPORT
    Member
    Post count: 3851
    This reply has been marked as private.
    #5806
    Pothe
    Member
    Post count: 336
    This reply has been marked as private.
    #5893
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Checked the file, nothing was changed in it, it was still with rewrite => false.

    Changed it for you now, please confirm.

    Regards,
    ————————————————————————————————————

    Cosmin
    Support Assistant

    #5915
    Pothe
    Member
    Post count: 336

    Yes I know. I changed it back so we can continue to work on those pages.
    Check the link for yourself – it has a 404 error. I’ll send the link now

    #5917
    Pothe
    Member
    Post count: 336
    This reply has been marked as private.
    #5920
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hmm, that’s weird – were any of the plugins updated since it stopped working?

    Can you provide login details in a private reply so I can do some further testing?

    Regards,
    ————————————————————————————————————

    Cosmin
    Support Assistant

    #5947
    Pothe
    Member
    Post count: 336
    This reply has been marked as private.
    #5964
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Sorry about requesting details twice, we have so many customers to help in a short turn-around, that it’s very hard to remember if someone already provided details.

    I’ll take a look and let you know what I come up with, thanks.

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

Viewing 15 posts - 1 through 15 (of 30 total)

You must be logged in to reply to this topic.