Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Flexform › Portfolio re-write not working anymore
New Landing › How can we help? › Themeforest Theme Support › Flexform › Portfolio re-write not working anymore
Tagged: 404, aboutus, anymore, errors, examplethanks, fixed, instructions, issues, pages, Permalinks, portfolio, rewrite, used, versions, work, Working
- This topic has 29 replies, 3 voices, and was last updated 11 years by Swift Ideas – Ed.
-
Posted in: Flexform
-
May 18, 2013 at 5:25 pm #5357
Hi
1.4.2 has fixed many issues. thanksPortfolio 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
May 20, 2013 at 10:50 am #5489Hi,
If you updated the theme, you will need to do that code change again, as it will get overwritten when updating.
Regards,
————————————————————————————————————Cosmin
Support AssistantMay 20, 2013 at 12:44 pm #5502Yes I know. I’ve updated the code and it’s not working.
May 20, 2013 at 1:19 pm #5509If 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 AssistantMay 20, 2013 at 2:18 pm #5524Hi,
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
May 21, 2013 at 2:47 pm #5631Try changing it to this and keep the comma:
'rewrite' => array('slug' => 'portfolio'),
Regards,
————————————————————————————————————Cosmin
Support AssistantMay 22, 2013 at 7:38 am #5724Hi,
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.
May 22, 2013 at 2:33 pm #5792This reply has been marked as private.May 22, 2013 at 3:21 pm #5806This reply has been marked as private.May 23, 2013 at 1:46 pm #5893Checked the file, nothing was changed in it, it was still with rewrite => false.
Changed it for you now, please confirm.
Regards,
————————————————————————————————————Cosmin
Support AssistantMay 23, 2013 at 3:49 pm #5915Yes 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 nowMay 23, 2013 at 3:49 pm #5917This reply has been marked as private.May 23, 2013 at 3:51 pm #5920Hmm, 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 AssistantMay 23, 2013 at 5:26 pm #5947This reply has been marked as private.May 23, 2013 at 6:24 pm #5964Sorry 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 -
Posted in: Flexform
You must be logged in to reply to this topic.