Support » Fixing WordPress » publishing to a specified directory

  • I have wordsmith installed in say: “/main/wordsmith” but I want the published page output to appear in “/main” — I tried redefining the url the “/main” and defining the page’s name appropriately, but the durn thing seems stubbord about outputting to anyplace but the wordpress dir? Where is it that I need to edit this particular settings issue?
    Thanks – Corq

Viewing 2 replies - 1 through 2 (of 2 total)
  • You may find yourself interested in this topic — I think the question you’re asking is about the same as what I’ve asked here.
    Also, let me use my situation to see if this is answerable:
    WordPress is in /wp/
    My layout is in /
    I wanted my entries to be visible from a page in /
    While leaving wordpress in /wp/
    I’ve got this mostly working at the moment. However, I just need to find a way to rewrite the archives links (this might require some modification to the source sitting somewhere inside), and it may be the answer you’re looking for.
    What I’ve done:
    Moved the page I wanted my entries to show up on to the directory I wanted it in;
    Edited this line: require_once('blog.header.php'); to look like this:
    Saved and placed it where I wanted it, then viewed the page.
    Why is it this simple?
    Take a look at the next line:
    The $abspath variable gets its absolute path from the initial ‘require_once’ statement, so if you wanted to add things like plugins within the WordPress directory, instead of writing out the full path to it, copy the idea used with the above piece of code. You might end up with something like this:
    Hopefully this is of use to you.

    thanks for this – will try it later tonite as I get time and report back my results, very much appreciate the guidance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘publishing to a specified directory’ is closed to new replies.