WordPress.org

Ready to get started?Download WordPress

Forums

"Vanity" urls Hiding Absolute Paths (6 posts)

  1. redthruviolet
    Member
    Posted 6 years ago #

    Hi.

    We use a "vanity" url, studenthousing, to launch our Word Press web site.
    We would like that url to "hide" the absolute paths of the pages, as you click to reach them.
    But, what happens is, that the absolute path is displayed.

    Is there a way to configure WordPress so that the vanity url will hide the absolute path?
    That is, we want to see:
    https://studenthousing.stanford.edu/?page_id=1269
    Not
    https://www.stanford.edu/dept/rde/cgi-bin/sh/wpprod/?page_id=1269

    Thank you.

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    If http://studenthousing.stanford.edu/ is actually pointing to the correct location and is not forwarded or anything weird like that, then all you have to do is to change the two URLs on the Options->General screen.

    But that all depends on what exactly you mean by "vanity" and how it is configured.

  3. patrickdappollonio
    Member
    Posted 6 years ago #

    Maybe you can't access to the lower directories in this domain, and if that happened you can't change the URL for "vanity" :P

  4. redthruviolet
    Member
    Posted 6 years ago #

    Otto42:
    I actually tried changing the site url, and it bombed. I could display pages, but not the administrator screens.
    What happened was, it was trying to launch "https://studenthousing.stanford.edu/rde/cgi-binshwpprod/wp-admin/.....".
    In other words, it took the vanity url (studenthousing), and appended ".stanford.edu" and also the absolute path "/rde/....".
    It looks like we have hit a limitation here in WordPress, or Stanford's urls do something that is not compatible with WordPress....

    patrickdappollonio:
    We can access the lower directories, because we are using https, and displaying images from the lower directories.

    Thank you both, for your replies.
    Further ideas would be much appreciated.

  5. patrickdappollonio
    Member
    Posted 6 years ago #

    But where is the WordPress installation? In /dept/rde/cgi-bin/sh/wpprod/?

    If yes, you need to install wordpress over / in order to make the URLs.

  6. redthruviolet
    Member
    Posted 6 years ago #

    patrickdappollonio:

    Yes, the installation is under the directory wpprod.

    Would you say more about what you mean "install WordPress over /"?

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.