• I have a private page on WordPress, how can I give another website access to this page while keeping it private, would it be through an IP address and if so how can I do this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • What exactly do you mean by giving another website (as opposed to a person) access to your private page on your website? What is this “website” supposed to do with/on the private page? What are you trying to accomplish?

    Thread Starter kartikb

    (@kartikb)

    The website has a portal for users that are signed up, it is zoho subscription portal and it allows me to input the page url for it to be displayed in the portal. The private page has links and forms for the signed up user.

    If I make the page private on wordpress I get a 404 error on zoho subscription portal, so i was wondering how I can keep the page private on wordpress but allow zoho subscription portal to show it.

    Hi Kartikb,

    This looks like something that is not possible. Private pages are not available to users of your site who are not logged in.

    You can maybe share the link and password (if your private page is password-protected) with your subscribers if you’d like them to access the page.

    Is that something that would work for you?

    Hi, I hope this helps. Whitelist the IP address: Obtain the IP address of the Zoho Subscription Portal server that needs access to the private page. This IP address can usually be provided by Zoho’s support or documentation. Modify your website’s .htaccess file: Access the root directory of your WordPress site using FTP or a file manager provided by your hosting provider. Locate and edit the .htaccess file. Add IP address restrictions: Within the .htaccess file, add the following code snippet to allow access to the private page from the specified IP address:

    # Allow access to private page from Zoho Subscription Portal IP address
     <Files "private-page-slug.php"> 
    
    Order deny,allow 
    
    Deny from all 
    
    Allow from Zoho-IP-Address 
    
    </Files>
    
    

    Replace private-page-slug.php with the actual URL slug of your private page, and Zoho-IP-Address with the IP address of the Zoho Subscription Portal server.

    Save and upload the .htaccess file: Save the changes made to the .htaccess file and upload it back to the root directory of your WordPress site, replacing the existing file. Test the access: Ensure that you have logged out of your WordPress site or use a different browser or device to access the private page. Verify that you can access the private page through the Zoho Subscription Portal without any 404 errors.

    Remember to keep your .htaccess file secure and make a backup before making any modifications. If you encounter any issues, it’s recommended to consult with your hosting provider or seek technical assistance to ensure the correct configuration of IP address restrictions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How can I give another website access to my private page’ is closed to new replies.