• Home
  • Get help
  • Ask a question
Last post 10 hours 18 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67837
All time tickets 10483
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.

#2525 – Migration from J!2.5 to J!3

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Friday, 22 July 2016 10:32 UTC
qme1ster
 Hi,

We're almost ready to go live with an upgraded site after migrating from Joomla 2.5 to version 3.x so we're now looking at the issue of URLs....

I was wondering if you could assist with a few queries, please:

1. How best to bring the data across from the old site.
For various reasons the migration to Joomla 3 was not donw with a migrator. We've created a new clean installation and added in the parts we wanted to maintain in the new Joomla 3 installation. So at present we are yet to install sh404 in J!3. Should we install and then copy across the database tables or do you recommend some other method?

2. Redirects
We are going to have changes to a lot of the URLs since the structure has changed for how we have various content areas organised. Is there a way to import the redirects via a csv/excel file?

3. Mijoshop
As far as I know there's no plugin for Mijoshop but we are considering installing Mijoshop SEF to manage just the Mijoshop URLs. Do you see any issue with this separation?

Thanks in advance.

Regards,
Quentin




Thanks in advance.
Friday, 22 July 2016 13:46 UTC
wb_weeblr
Hi

1 - Depends on what you have to transfer. If this is just about the URLs, then normally you don't need to do anything. Assuming you have kept the same categories and articles titles/aliases, and you use the same settings in sh404SEF, the URLs are just going to be created the same.

If you have custom URLs, they you have 2 look at 2 options: either recreate them manually on the new site, or copy db tables.
If you have custom meta data, then maybe copying the db tables is a good idea.

2 - You can import Aliases using the Import button on the Aliases page. You can start by creating a couple manually, then use the Export button. That will give you a sample of the file format to use, and then you can create the redirects in Excel or a text editor. Note however that if the number of redirects is large, this can be actually more tedious than copy/pasting them in sh404SEF interface, because the Aliases file needs to have the original non-sef URL, which is hard to find and type.

3 -
3. Mijoshop

As far as I know there's no plugin for Mijoshop but we are considering installing Mijoshop SEF to manage just the Mijoshop URLs. Do you see any issue with this separation?
You cannot have 2 sef extensions on a Joomla site. It's one or the other, not both.

Rgds
 
Tuesday, 26 July 2016 16:08 UTC
qme1ster
Thanks for your reply.

1. We have custom meta data and custom urls so we'll have to go down the route of copying the database tables. Is this 100% compatible between J2.5 and J3? Can we expect that to work without any issues? Would there by any differences in the DB tables between those 2 versions of joomla and sef404? I ask because we've had an issue with another component where the data didn't come across correctly.

2. OK, that sounds like a good idea in terms of the aliases. I'll give that a go.

3. I thought that while each sef extension took care of different items that it was possible to have more than one. Thanks for clarifying. I may come back to you and ask a further question in relation to the Mijoshop URLs.

Thank again
Tuesday, 26 July 2016 16:18 UTC
wb_weeblr
Hi

1 -
Is this 100% compatible between J2.5 and J3?
The latest sh404SEF for J2 will be compatible, DB-wise, with the current sh404SEF for J3 (don't wait too much, this will change). Now the real question is not about sh404SEF. The real question is about article ids and categories ids and Itemids (menu items ids).
From the description of your process, it looks like those will have changed. If so, it's unlikely the direct transfer will allow matching meta data (attached to the original non-sef URLs) to the new non-sef URLs.
If you have changed content database structure, and thus ids, one way may be to write some SQL code, or PHP to match new ids to old ones. That's rather complicated actually, so must be evaluated against cut/pasting or similar

2 - Not sure now if this can work, for the same reason, change in ids.

3 - Doesn't work like that, each extension will alter the incoming requests, and try to build the outgoing links. There will be interferences.

Rgds
 
Thursday, 28 July 2016 15:54 UTC
qme1ster
Hi,

Since we are doing a complete overhaul, we've decided to work through the URL's in excel manually and then try to import them in one go.

About Mijoshop, if we set in the sh404sef configuration to not manage the Mijoshop component, can we add individual URLs to sh404sef to make the human friendly and add meta data titles and descriptions? We would like to go so for our main category pages.

Thanks again.
Thursday, 28 July 2016 17:10 UTC
wb_weeblr
Hi

Since we are doing a complete overhaul, we've decided to work through the URL's in excel manually and then try to import them in one go.
OK. Just be aware of my remark above, about the ids not being the same. Also, as you probably plan on doing, you surely want to start by testing the process on a few URLs, before jumping all in.

About Mijoshop, if we set in the sh404sef configuration to not manage the Mijoshop component, can we add individual URLs to sh404sef to make the human friendly and add meta data titles and descriptions? We would like to go so for our main category pages.
You can only attach meta data to URLs stored in the database. So if you set Mijoshop to:

- leave as non-sef: no URL in database, no meta data or custom SEF
- Simple encoding: same
- Use Joomla router: same

The only option is to "Use default handler". WHen you do that, a usually good solution is to then set the second option to "Use router.php, with menu item". This is the closest to using Joomla SEF, but still storing items in the database, and therefore being able to customize them or attach meta data.

Rgds
 
Thursday, 28 July 2016 17:38 UTC
qme1ster
Thanks for your advice about Mijoshop. I'm just a little concerned about one thing.......We have filters in order to find products and so there are quite a few combinations of ways to arrive at any one set of products or a product itself. Would you envisage any issues with using sh404sef for those Mijoshop URLs?
Thursday, 28 July 2016 17:57 UTC
wb_weeblr
Hi

Indeed, depending on how the URLs are created, this might generate a lot of URLs in the database. THe only option there is to test, and see how those filters work. If they are working through ajax for instance, there might not be distinct URLs for each filter combination. If the URLs varies with filters, but only a part of it is SEF, and the rest is non-sef ie: /category/filtered?optiona=12&optionb=787&optionc=4545, then there is no problem, because only the SEF part is stored in the DB (/category/filtered).

Rgds
 
Friday, 12 August 2016 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
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.