EDIT 2: How would I iFrame
wp_nav_menu contents while maintaining the styles and script associated with their display? (Please ignore all of the below seemingly confusing context of why someone would want to do this.)
EDIT 1: This question is related to WordPress's
My client is very interested in sculpting their page rank by iframing internal links such as the entire header and footer.
I've tried to accomplish this by creating a php file in the root of the site and in it, changing
WP_USE_THEMES to false, requiring the
wp-blog-header.php file, then calling that
wp_nav_menu. This SORTA works, but I'm left with a 404 and the links aren't styled.
Is there some elegant way to accomplish this? Just the idea of it feels very hackish and I've been adamant in sharing my thoughts. But maybe there's some SEO guru out there who's done this... ?