404 error on article pages only on live environment
Since I put the site on the production environment and entered the "Cultures and Hostname" on the home page, the articles now redirect to a 404 page.
On the development environment, “Culture and Hostname” were not set and the url of the articles was: https://example.com/news/article-name/ and this worked very well.
However, on the article grid of the news page, the links to the articles have not been modified and are still https://example.com/news/article-name/, which redirects to a 404 page.
Do you know what could be causing the problem? Do you have a solution?
404 error on article pages only on live environment
Since I put the site on the production environment and entered the "Cultures and Hostname" on the home page, the articles now redirect to a 404 page.
On the development environment, “Culture and Hostname” were not set and the url of the articles was: https://example.com/news/article-name/ and this worked very well.
Since the migration to the production environment, the article url has changed to include '/posts/' in the slug: https://example.com/news/posts/article-name/
However, on the article grid of the news page, the links to the articles have not been modified and are still https://example.com/news/article-name/, which redirects to a 404 page.
Do you know what could be causing the problem? Do you have a solution?
do you have cdn or waf, maybe it doing SSL termination?
keep in mind that ant redirects are cached by browser and best way to check it in single incognito browser
is working on a reply...