Support Forum

adding a new topic

35 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

none at all I am afraid. We have the code to the plugin and aim to look at it tomorrow when we are both available.

MP Mr Papa
Mr Papa
Member

okay, so to get you back working, here is an easy mod for you…

open file simple-press/sp-startup/site/sp-site-support-functions.php…  find function sp_set_rewrite_rules() and around line 27 find this line of code:

$slugmatch = ($wp_rewrite->using_index_permalinks()) ? 'index.php/'.$slug : $slug;

change it to be:

$slugmatch = ($wp_rewrite->using_index_permalinks()) ? 'index.php/'.$slug : $slug.'.html';

we obviously wont make that change in core code, but we will consider a filter or something so you can do from sp theme vs editing core code…

WE Webgal
Webgal
Member

Okay, I just made that code change and uploaded. I’m still getting 404 error – is that expected or will the filter round this out? http://www.thecfoconnection.com/our-firm/forum.htm/general-discussion-forum/?new=topic

 

Thanks

YS Yellow Swordfish
Yellow Swordfish
Member

Might be worth updating the permalinks from the WP admin Settings > Permalinks just in case… And flushing your browser cache as well.

WE Webgal
Webgal
Member

I’ve got it … the code has .html and my pages are .htm but I realized that could be it when I updated the permalinks and just changed that. Not only can see the editor now, but I can add a topic. Can hardly wait to get this going.

Thank you so much!

 

CS

YS Yellow Swordfish
Yellow Swordfish
Member

The next update will provide a filter to use for this. We can talk you through setting that up when you make the update as the update will break the code change you have made of course.