Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Setting to not clear database on config save?
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Setting to not clear database on config save?

Setting to not clear database on config save? 16 years, 3 months ago #4521

Is there a way to not have the database cleared every time you save the configuration? It seems that any time you change the config, the only way to save it is to allow the database to be cleared. Unfortunately, this causes a huge headache and the need to re-edit all the urls I've changed. We're in testing right now, but even on a live site, this could cause hundreds of broken links if you've edited urls and then used the SEF url in a link on a page, let alone sending the url out for marketing purposes.

I'm at a loss as to why this would be necessary in the first place. The original Joomla urls are unique for each page. Any changed url I make also has to be unique as well.

Why not, if the config does change, run a script against the database to update the urls with the new settings, filters, etc. Then, display a list of changed urls after the save. If there are any issues, editing of these new changes could be done manually at that time.

Thanks,

Christian

Re:Setting to not clear database on config save? 16 years, 3 months ago #4524

  • dajo
  • OFFLINE
  • Posts: 5069
Hello Christian,

It is not that easy. The original Joomla URLs are modified according to configuration before it is saved to database. For example - when you have the "Exclude source info" set to Yes, the Itemid variable is removed from the URL. If you then changed the setting to No, JoomSEF wouldn't have the Itemid information to append it back again. JoomSEF could try to guess it from the URL, but of course it is not guaranteed it would work all the times.
However, this is a good idea - we're putting this on our list of TODO featues :)

Best regards,
ARTIO Support Team
ARTIO Support Team
  • Page:
  • 1
User Login Empty