Support » Fixing WordPress » stuff/things

  • I went take a look at http://stuffandthings.org/previously/2004/04/the-wopr-tagging-series-volume-one/ by indication of WP’s DevBlog. There is is said:
    In order to make a template “WP-ized?, you must have these four lines at the very beginning of your template:
    php
    $blog = 1;
    require(’wp-blog-header.php’);
    If you want your weblog in a separate directory than where WordPress is installed, then you should replace wp-blog-header.php with the full path to wp-blog-header.php.
    Is that all there is to it? Doesn’t seem so, from other threads in this forum…

Viewing 2 replies - 1 through 2 (of 2 total)
  • I tried it on my test blog.
    Following the instructions you quoted gives you a working index.php in the other directory, but all the links on the page still point to the old directory. For example, the link to the weblog, from the title still points to example.com/wordpress/
    I tried changing the blogurl in the admin interface, and that caused me to be unable to do any administration after I saved the changes, since all call were to files as if they were in the new directory.
    So you can do it, provided you are willing to live with all links on the moved index still pointing to the directory where WP is installed. Also, I copied the index.php file, did not move it between directories. If you move it, then it will be broken.
    Interesting!!

    I think i will wait for a future release of WP when you can choose diferent installation and blog directories, then. This is just some over-organization will of mine…
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘stuff/things’ is closed to new replies.