Forums

WP keeps putting port back into URL (2 posts)

  1. teachingbooks
    Member
    Posted 3 years ago #

    Our company website runs on mod_perl, so to install WordPress we had to use a separate Apache installation on port 8998.

    Regular access at http://wp.mysite.com/ does a ProxyPass through to wp.mysite.com:8998, and our blog homepage shows up just fine. The URL displayed in the address bar does not show :8998.

    However, as soon as you click any link on that page, the URL shown in the address bar picks the :8998 back up and displays it. It shouldn't / we don't want it to.

    Ideas?

  2. design_dolphin
    Member
    Posted 3 years ago #

    I am not sure, but maybe change the settings in apache configuration and change the address there. I would say .htaccess, but you can probably do this in the apache settings.

    Just a quick search on 'apache multiple setups rewrite url' gave this writeup:
    http://drupal.org/node/211163

    Although you might want to be looking for 'redirect' instead. Something to that effect.

    I have never done it before, so I am sorry I can't give you any more information. Wouldn't know what to search for.

    Edit: I am not sure if this is a WP/ CMS thing or not.

Topic Closed

This topic has been closed to new replies.

About this Topic