• I have a client who has several pages that are made available to customers AFTER they purchase something. She sells testing services and she doesn’t want the page to show until they have paid. That piece isn’t a problem. HERE’S THE PROBLEM

    I want to be able to name the page in WordPress something I will understand. Something like TEST_LOGIN_PAGE_1 which I obviously can. What I DON’T want is for that page name to show up because it would be too easy for people to figure out. I would rather the customer see that the page named was something like AS123ad845du8. How can I do this? Is there a plugin that will allow me to do this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I don’t know how experienced you are with PHP, but this could be an alternative.

    When a purchase has been made or a user has logged in who has a payment history a variable could be set to TRUE. This could be stored in a session every time a user is logged in. They can then access the page you wish to hide.

    However if they haven’t purchased anything then the variable is set to false, you could just then use a IF statement to redirect users away from the page if they aren’t logged in or if they don’t have a payment history.

    Thread Starter rpierce1373

    (@rpierce1373)

    Not too familiar with PHP. I’ve see this done with another WordPress blog but I can’t determine how they did it. In the page list, they have it showing using a name that you could figure out, but when you go to the page after buying, the name is a series of letters & numbers and they are referencing THIS page in the shopping cart return page. I don’t believe they created a copy of the page with a different label because they wouldn’t be able to customize it if they did. They are basically “masking” the true page URL that contains letters & numbers and I can’t determine how they are doing it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Create a page with two different page names’ is closed to new replies.