Passer la navigation

[Résolu] WP Archive not working after deployment from staging to live

This support ticket is created Il y a 3 years, 4 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 12 réponses, a 2 voix.

Dernière mise à jour par FRANCESCOD7762 Il y a 3 years, 4 months.

Assisté par: Minesh.

Auteur
Publications
#2531135

Hello,

When I do a full deploy of my staging site lien caché in the live site lien caché the WordPress Archive link lien caché get to a 404 page eventhough the same link on the staging site gets to display the Archive OK.

I already asked the Server Support Team of Siteground, and I got the following answer :
"Thank you for contacting our Help Desk.

I have reviewed the situation you experience and I was able to recreate it however the issue seems to be related to specific configurations of a plugin or the theme you are using.

I attempted to deploy only the changes to the website using a custom deployment method however that did not resolve the issue.

It seems the page you are using on /oeuvre when deployed is not correctly configured over to the new application due to the plugin that is creating that page.

From what I see even the style of the page is not present and that might be some issue between the theme and the plugin you are using when the website is deployed and the domain is changed.

I would recommend recreating the page manually or contacting the developers of the plugin you are using to create the page to assist you.

Keep in mind that the issue is not related to the Staging Tool but to the setup of the website which has very specific settings.

Feel free to contact us again if you need our assistance."

So this issue has nothing to do with the deploying process from staging lien caché to live site lien caché

I did follow the Toolset documentation on how to create a WordPress Archive

access details removed.

Could you, please advise?

Thank you.
Francesco De Grandi

#2531245

Hi,
I detected the same problem with the following links to pages containing Views on the saging site lien caché, which do not work either after deployment to the live site lien caché :

lien caché
lien caché
lien caché

Meanwhile, I backed up the live site, and did re-install WP 6.0.3. on both sites, in case it had something to do with this issue, and I ddid a full deploy again.

Can you tell me what is going on ?

Francesco De Grandi

#2531817

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please tell me what is the method you are using to transfer your site from one server to another?

Have you checked the following Doc?
=> https://toolset.com/faq/how-do-i-migrate-a-wordpress-site-from-one-domain-to-the-other/

#2532179

Hi Minesh,
As you can read it in my first message, this transfer is from a staging site to a live site on the same SiteGround server.
I do not know what the specific process is. This question should be asked to the SiteGround Support Team.

I checked the article "How do I migrate a WordPress site from one domain to the other?" :
- the WordPress address AND the Site address are both OK in the live site lien caché
- the wp-options table of the live site indicates the right option_values of lien caché for both the siteurl and the home option_names

This issue is extremely important for this site, which is a public Platform for Art Museums, because if it cannot be resolved, it means that I will not be able to develop on that staging site and then deploy anymore.

You can access both sites with the credentials I gave you in my first message above.
Thank you for looking into theis problem.
Best regards,

Francesco De Grandi

#2532641

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

- Do you want to deploy specific things from stating to live site? or
- Do you want to deploy whole staging site to live/production site?

If it was specific things what you develop on stating site and moved to live site and how?

#2532741

Hi Minesh,
Again, you can read the first sentence of my first message : it is a FULL DEPLOY.

The issue here is that WP archives and the pages with Toolset Views do not transfer with a full deploy : why?

The SiteGround Server's support Team has already answered (see first message also) that in their eyes this issue is not related to their staging process.

The theme I am using is Kadence, including the Pro extensions and the Kadence Blocks with Kadence Blocks Pro.
According to the Toolset docs, Toolset plugins are fully compatible with the Kadence theme.

Please dig deeper : you have full access to the back end of bothe sites.

#2532757

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

The issue here is that WP archives and the pages with Toolset Views do not transfer with a full deploy : why?
==>
That is not the case - we do not see any other users reported such issue.

The SiteGround Server's support Team has already answered (see first message also) that in their eyes this issue is not related to their staging process.
==>
Ok

Now as you requested I dive into the staging site and I checked the following page and it works (that works for you as well):
- lien caché

Then I tried to load the same archive on the live site: lien caché
- I can see its working without any issues. Please check the following video: lien caché

I checked the other links as well that you shared that works on staging and but you claim its not working on your list site:
- lien caché
- lien caché
- lien caché

I checked all those links in live:
- lien caché
- lien caché
- lien caché

I can confirm above links are also working. Please check the following video: lien caché

I'm not sure why its not working for you. Have you tired different browser, different computer?

#2532775

Hi Minesh,

Well, this is mind boggeling...
Yes this morning thses links all work as they should on the live production site lien caché

I am sorry to have bothered you with this "Phantom Issue" !

I just hope it will not happen again : I will do a full deploy again today and see if it still working.
Please keep this ticket open until I communicate the result.

Thank you for your help.
Francesco De Grandi

#2532795

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

ok - thank you :). Please feel free to share what you find.

#2532837

It still works fine after the new full deploy.

For a moment I thought the issue had something to do with the fact that in the Block Editor, the Toolset blocks (Field and Text for instance) can not be visualized : so I had rolled back to the WP 6.0.3 version on both sites, in order to be able to edit the blocks properly...
But it was not the case, all thses links work also under the WP 6.0.3 version... Go figure!

By the way do you have any idea about when this block visualization issue will be fixed by the Toolset dev team ?

#2532841

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

The "Fields and Text" block visibility issue is already address with Toolset blocks version 1.6.4:
=> https://toolset.com/download/toolset-blocks/#changelog

Fixed an issue that broke the Fields and Text block when using WordPress version 6.1 or newer.
#2533093

OK Great it works fine indeed.

Thank you Minesh for your great help.

Bye for now.

Francesco De Grandi

#2533095

My issue is resolved now. Thank you!