Title: therealmixmaster's Replies | WordPress.org

---

# therealmixmaster

  [  ](https://wordpress.org/support/users/therealmixmaster/)

 *   [Profile](https://wordpress.org/support/users/therealmixmaster/)
 *   [Topics Started](https://wordpress.org/support/users/therealmixmaster/topics/)
 *   [Replies Created](https://wordpress.org/support/users/therealmixmaster/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/therealmixmaster/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/therealmixmaster/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/therealmixmaster/engagements/)
 *   [Favorites](https://wordpress.org/support/users/therealmixmaster/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Using wordpress in an existing website](https://wordpress.org/support/topic/using-wordpress-in-an-existing-website/)
 *  Thread Starter [therealmixmaster](https://wordpress.org/support/users/therealmixmaster/)
 * (@therealmixmaster)
 * [20 years ago](https://wordpress.org/support/topic/using-wordpress-in-an-existing-website/#post-390998)
 * Any help guys? If I’ve not made the nature of my enquiry clear please say…
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Using wordpress in an existing website](https://wordpress.org/support/topic/using-wordpress-in-an-existing-website/)
 *  Thread Starter [therealmixmaster](https://wordpress.org/support/users/therealmixmaster/)
 * (@therealmixmaster)
 * [20 years ago](https://wordpress.org/support/topic/using-wordpress-in-an-existing-website/#post-390989)
 * Thanks for the replies. I’ve read over them and have a better understanding of
   how things work now. But now I have a new question…
 * I’ve installed wordpress in:
    [http://wpblog.michaelhopcroft.com](http://wpblog.michaelhopcroft.com)
 * … and want to use wordpress functions in different domains such as:
    [http://me.michaelhopcroft.com](http://me.michaelhopcroft.com)
 * As you can see by following the links it’s working fine but the functions that
   wordpress provide seem to default the links to /(the directory where I installed
   it)/index.php…
 * To give you an example, I can display all the posts on say [http://me.michaelhopcroft.com/index.php](http://me.michaelhopcroft.com/index.php),
   but if I click the title of a specific post it takes me to [http://wpblog.michaelhopcroft.com/index.php&#8230](http://wpblog.michaelhopcroft.com/index.php&#8230);
   I’d rather it stayed at [http://me.michaelhopcroft.com/index.php](http://me.michaelhopcroft.com/index.php).
 * Is there an easy way to get it to default to the page you’re calling the functions
   from instead of the root of the installation directory?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Using wordpress in an existing website](https://wordpress.org/support/topic/using-wordpress-in-an-existing-website/)
 *  Thread Starter [therealmixmaster](https://wordpress.org/support/users/therealmixmaster/)
 * (@therealmixmaster)
 * [20 years ago](https://wordpress.org/support/topic/using-wordpress-in-an-existing-website/#post-390567)
 * Thanks for the speedy reply! 😀
 * What I’m trying to do is just have a page on my site that is a blog. It’s supposed
   to look like the rest of the existing site. But because these other pages will
   be feature rich I don’t want to use the WordPress “pages” technique where page
   content is simply taken from the database and put in to a template.
 * What I’ve done is to create a WP blog and a new theme that matches my website.
   However, I obviously want my blog page and the other pages on the site to use
   the same template code. The only way I could imagine doing that is by changing
   the other pages, which I’ve placed in the root of the WordPress directory, to
   take their template from the WordPress theme folder:
 * require( $_SERVER[ ‘DOCUMENT_ROOT’ ] . “/wp-content/themes/default/header.php”);
 * This seems like a bad solution to me. Is there a better way. Can I not get WP
   to use the “templating structure” of the website as I had developed it rather
   than it’s own system of defining header.php and get_header() etc?
 * I hope I’m making sense. If not ask questions and I’ll try to clarify.

Viewing 3 replies - 1 through 3 (of 3 total)