Forums

Newbie need an apache alias (3 posts)

  1. mpapet
    Member
    Posted 2 years ago #

    Hi,

    I'm trying to do something that simply may not work in WP.

    Current situation: WordPress is installed and working in a subdirectory. I added a couple of static pages along with some blogging posts.

    The public_html directory is basically

    |->blog/php.index (wp install)
    index.html|->myResume/index.html
    |->UselessInfo/index.html

    I'd like to keep the basic structure, but point UselessInfo pages to WP static pages.

    Alias /cms "/home/mysite/public_html/blog/index.php?pageid=2"
    I thought an Alias directive would work, but it doesn't.

    Rewrite is enabled, so the rewritten URL doesn't work either. (no surprise)
    Alias /cms "/home/mysite/public_html/blog/about"

    Any advice is welcome, even if it's obvious to most.

  2. mpapet
    Member
    Posted 2 years ago #

    Ugh, That didn't format right. Index.html is the root document with child folders myResume and UselessInfo

  3. mpapet
    Member
    Posted 2 years ago #

    It looks like this is a big dead end.

    Would an Apache rewrite rule work?

    Let's say the requested url is http://www.mysite.com/cms I need it to go to http://www.mysite.com/blog/index.php?pageid=2"

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags