The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Template Editor error when WordPress is installed (5 posts)

  1. robgreeley
    Posted 12 years ago #

    I have installed WordPress in a different directory than the blog iteslf. This is a great idea, and keeps everything cleaner than it would otherwise be - Thanks
    One small problem that I have found is that the template editing tab now shows the following error at the top of the page:
    Editing index.php
    Oops, no such file exists! Double check the name and try again, merci.
    I think this is where the main template would be shown, but in this case it can't find it because it is looking in the WordPress folder, not the home directory.

  2. Mark (podz)
    Support Maven
    Posted 12 years ago #

    Did you follow all the instructions here for your install ?
    Different directories

  3. carthik
    Posted 12 years ago #

    This is problem that has been noted before. You cannot use the Template Editor on pages "below" the wordpress directory, or to put it better, in a super-directory relative to the wordpress directory.
    A search of these forums might lead to a solution.

  4. Mark (podz)
    Support Maven
    Posted 12 years ago #

    Ah... in that case, lines 153-157 of templates.php have the hrefs

  5. you could open that up and replace the hrefs ?
    (and while you are at it, add one for the css :) )

  • robgreeley
    Posted 12 years ago #

    Good idea - tried it out. Maybe I am being dense, but why don't the standard ./ and ../ file reference functions work here?

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic


    No tags yet.