js includes for html seo-friendly
Posted
by
ascar
on Pro Webmasters
See other posts from Pro Webmasters
or by ascar
Published on 2012-09-26T18:16:18Z
Indexed on
2012/09/26
21:50 UTC
Read the original article
Hit count: 378
I need to do client-side includes on a website for the navigation. The problem is the navigation is currently all html, and since I can't use php i've just been using js to include the html with document.write (). however, i read that this is not good for seo. While i know there are seo-friendly js navigation menus, I was wondering if there's a way to do this while including the html and not having to alter it very much? I also got it to work using embed with html which i know is super hacky but i don't really know that much about js and am frustrated being told not to use server side includes.
thanks!!
© Pro Webmasters or respective owner