• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / WordPress redirects to login on Preview page

WordPress redirects to login on Preview page

  • Unknown's avatar
    durbydeleeuw · Member · Jul 3, 2025 at 6:00 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    First of all, this is a brand-new install of WordPress 6.8.1 on a Windows 2019 server, IIS 10 and PHP 7.4

    I added the php directory to the PATH variable in the System Settings.

    in the php.ini, I added or uncommented the following lines

    extension_dir = “ext”

    sys_temp_dir = “/tmp”

    extension=mysqli

    extension=curl
    ;extension=ffi
    ;extension=ftp
    extension=fileinfo
    extension=gd
    ;extension=gettext
    ;extension=gmp
    extension=intl
    ;extension=ldap
    extension=mbstring
    extension=exif ; Must be after mbstring as it depends on it
    ;extension=mysqli
    ;extension=odbc
    extension=openssl
    ;extension=pdo_firebird
    ;extension=pdo_mysql
    ;extension=pdo_odbc
    ;extension=pdo_pgsql
    ;extension=pdo_sqlite
    ;extension=pgsql
    ;extension=shmop

    Next, I give the IIS_IUSRS full control of the c:inetpubwwrootworpress directory

    I activate wordpress by opening http:\MyServer.comWordPresswp-adminsetup-config.php

    I create a new instance of WordPress. Once done, I login and

    I did NOT load any plugins OR any Themes !

    The active Theme is Twenty Twenty-Five.

    I add a new page and add an image, a table and some text.

    Now I Save the Draft. So far so good.

    When I click on the Preview button in the bottom left of the page, It sends me back to the Login page.

    Any help would be appreciated

    The blog I need help with is: (visible only to logged in users)

  • The topic ‘WordPress redirects to login on Preview page’ is closed to new replies.

Tags

  • .org
  • account
  • design
  • images

About this topic

  • In: Support
  • 1 participant
  • 0 replies
  • Last activity 6 months
  • Latest reply from durbydeleeuw

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions