• Hi,
    I’m brand-new at this. I have WordPress successfully installed on my website, and I’ve created a dedicated add-on domain to which the root wordpress directory is redirected. I want visitors to see only the add-on domain for security reasons. This seems to work fine for such parameters as author, say, but I notice that a mouse hover over a comment’s date-time stamp (which is itself an “<a hrefs”), or an archive link in the sidebar, points to the root directory on my website, instead of the add-on domain.

    How can a redirect on the website be carried into all links on a blog page.

    I hope this question makes sense; this is the only way I can think to put it at the moment.

    Thanks in advance.
    Bill

Viewing 2 replies - 1 through 2 (of 2 total)
  • so why can’t you just install/move wordpress to the add on domain?

    I want visitors to see only the add-on domain for security reasons.

    I suppose I don’t see how that helps with security

    Thread Starter bill-becker

    (@bill-becker)

    Thanks Samboll,

    First, I still can’t quite figure out how to actually get “into” the add-on domain. Whatever I try always gets me to my root directory. I’ll have to talk to my administrator/host about that.

    But, I think I got it figured out. There was a two-part “domain” name that I did not realize I also had to redirect to “add-onDomain”. Here’s the idea:

    Basic structure: add-onDomain has a Document Root of MainWebsite/public_html/wordpress

    The redirects are as follows:

    MainWebsite/wordpress ==> add-onDomain (repeats for some reason)
    add-onDomain.MainWebsite ==> add-onDomain (The one I didn’t redirect at first, and the meaning of which I don’t really understand.)

    Now, when I invoke https://add-onDomain, the blog comes up and everything on it points to add-onDomain. MainWebsite does not appear anywhere, even though it’s the host of the wordpress directory.

    It may be silly, but I feel more comfortable this way.

    Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Making the wordpress directory opaque to visitors’ is closed to new replies.