I want to create two version of site that one of them work for javascript-enabled users and another for non-javascript-enabled . In the javascript-enabled version , i load all content using AJAX that crawlers cann't access to the content . I want to use below code to redirect page to non-javascript-enabled version :
<noscript>
<meta http-equiv="refresh" content="0; url=https://example.org?noscript=true" />
</noscript>
Also i want to put some PHP scripts in the index page to check url parametrs . This is my PHP codes :
<?php
if ($_GET['noscript'] == "true") {
// This is non-javascript-enabled version
// Show all content here using WP_QUERY function
}
?>
And now i have a question . Does google crawler access to the content using non-javascript-enabled version ?