I have the following set up for a client:
Wordpress hosted at siteground.com with externalhost.com/blog
=> working Wordpress Installation.
AWS App "myapp.com" managed by Amplify with a rewrite for /blog which should lead to externalhost.com/blog
but show the user myapp.com/blog
.
I then switched the siteurl and home in the wp-config.php
file:
define( 'WP_SITEURL', 'https://myapp.com/blog' );
define( 'WP_HOME', 'https://myapp.com/blog' );
It pretty much works, but there are some cases which aren't working. So far I have noticed:
Pagination in the pages section keeps the links for the next page with externalhost.com/blog
.
Menu Section links redirect to the externalhost.com/blog
part.
It feels that not everywhere in the Wordpress the link has changed above all in the pagination I wasn't able to find a solution. Maybe someone has experienced the same behaviour or ideas where I can modify those behaviours?