Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    It seems that your query does not work for blogs. However, wordpress stores all the details in the database so you can access that details on your domain index page from that database and display it according to your requirement.

    Thanks,

    Shane G.

    Thread Starter timarmes

    (@timarmes)

    Hi Shane,

    Thanks for your response.

    I’m not sure what you mean by “your query does not work for blogs”.

    I’m finding it hard to express the problem clearly. My WordPress installation is stored in a folder called “blog” on my server, hence the blog is now accessed at “/blog”.

    What I’d like to do is move WordPress to the root and have the static pages served by WordPress from there, but somehow have the actual blog maintained at /blog

    Since it’s possible to have WordPress manage nice urls (such as /blog/2008/my-blog-entry) from within the /blog directory, I wondered if it would be possible to have it serve the same URLs from the root directory (i.e. by prefixing the current URLs with “blog”), but only do this for the blog, not for the static pages.

    Phew…

    Tim

    Copy the souce code for all your static pages and save them in a new directory on your server;add a blank index.php file into that same directory.Move your blog to where you want it.Edit the individual permalinks to point to your new directory/each static page name.

    I suggest you first look at moving WP so that it can be used to run your whole site:

    https://codex.www.ads-software.com/Moving_WordPress

    Then it should be a relatively simple matter to set up a posts page, called Blog, using Admin/Settings/Reading.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘URL questions’ is closed to new replies.