Question

I tried to use Google group service inside my website though embedding this code inside the home page, But it returned 404 error! Is it because I'm using localhost ?

<iframe id="forum_embed"
  src="javascript:void(0)"
  scrolling="no"
  frameborder="0"
  width="900"
  height="700">
</iframe>
<script type="text/javascript">
  document.getElementById('forum_embed').src =
     'https://groups.google.com/forum/embed/?place=forum/*********'
     + '&showsearch=true&showpopout=true&showtabs=false'
     + '&parenturl=' + encodeURIComponent(window.location.href);
</script>
Was it helpful?

Solution

Yes, the 404 problem is because you are running from localhost. I use the built-in Apache server on Mac OS X and encountered exactly the same issue. Once I uploaded the HTML files to my hosted website, the Google Groups forum displayed properly.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top