• Home
  • Get help
  • Ask a question
Last post 4 hours 44 min ago
Posts last week 81
Average response time last week 44 min
All time posts 70378
All time tickets 10862
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#9737 – Migrating data from Joomla 3 sh404SEF to Joomla 4 4SEF.

Posted in ‘Pre-sale questions’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Sunday, 26 March 2023 20:22 UTC
lumajosh

Hello,

Currently I use sh404SEF component on Joomla 3 site. In order to avoid compatibility issues of different extensions / plugins I have on live site, I've made a decision to do a clean slate development on Joomla 4. I’m planning on purchasing both 4SEF and 4SEO components for my new Joomla site. From everything I saw on 4SEF, it seems if I want to preserve existing data, I can install it on existing site and run a conversion. So the question I have, is it possible to install 4SEF on existing J3 site, perform a conversion and then manually migrate all 4SEF db tables over into J4 site?

Thank you

Monday, 27 March 2023 07:36 UTC
wb_weeblr

Hi

then manually migrate all 4SEF db tables over into J4 site?

Yes, that's the preferred option.

- Install 4SEF on J3, do the import, switch over to SEF from sh404SEF and check all URLs and site behavior

- when URLs are good, install 4SEO and do the import: check all is fine

- install 4SEF and 4SEO on the J4 site

- copy the forsef_* and forseo_* db tables from J3 to J4

BUT: even with doing it this way, there can be some difficulties most likely with 4SEF.

The reason is that SEF URLS are an association of a non-sef url and a sef:

index.php?option=com_content& view=article&id=12 => /my-article

When you create an entirely new J4 website, there's a good chance that your articles will have differing IDs. On J3 this article will be id=12 but on J4 it will have an id of 21.

Meaning the non-sef URLs in 4SEF in the J3 site won't match these on the J4 site.

It's not that bad actually, it's only really a problem for manually customized URLs. These may not work if ids of items are changing and you may have to redo them.

If you have none or only a few custom URLs in sh404SEF, I would suggest that you only import from sh404SEF the configuration and the custom URLs.

By having the same configuration in 4SEF as you have in sh404SEF, 4SEF will create the same URLs as sh404SEF would, you don't actually need to import the full set of URLs. That's true at least for Joomla content, articles, categories, contacts, etc. This may not be true if you use 3rd-party extensions, needs to be discussed on a case by case basis.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Tuesday, 28 March 2023 00:01 UTC
lumajosh

ok, I just installed 4SEF and performed migration from sh404SEF. Migration went smoothly, there were no reported errors. The site I support is very small, I do not use Joomla articles nor blog, all pages were created with Joomshaper’s SPPB. All site links work as expected with exception of one, when I try to navigate to that particular page I get “Error You are not authorised to view this resource”. I can access the page in edit mode if I login using my credentials. I reviewed the access rights (nothing has changed since I performed the migration) and wasn’t able to determine if there is anything wrong there. So for the time being I disabled the menu item, so no visitors will run into seeing this error message.

Please advise.

Thank you

Also, in order for me to copy data from both 4SEF and sh404SEF, do I need to worry any table constrains, any particular order of execution?

Tuesday, 28 March 2023 00:02 UTC
lumajosh
Tuesday, 28 March 2023 00:03 UTC
lumajosh
Tuesday, 28 March 2023 00:07 UTC
lumajosh

For some reason I could not upload error logs, here is the link to access these - 2 Items

Tuesday, 28 March 2023 07:14 UTC
wb_weeblr

Hi

Thanks for your message. You are on public forum, where we can only reply to pre-sale questions.

We provide support to our subscribers through our helpdesk.

After logging in, please open a ticket describing as clearly as possible the problem you're experiencing.

When you open that ticket, error logs are not needed. What's needed as always is full and real URLs to the page where the problem can be seen. In that case, both the SEF and non-SEF URL (as listed in 4SEF) will be needed.

Closing this ticket now, feel free to open a new one as needed. If you do so, please mention this ticket number in the new one.

If you created any superadmin account for us, be sure to delete or block it now to avoid unnecessary risk in the future.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.