WordPress.org

Ready to get started?Download WordPress

Forums

Ultimate Coming Soon Page
[resolved] Doesn't work if wp installed in subdirectory (12 posts)

  1. draivika
    Member
    Posted 2 years ago #

    I have WP installed in a subdirectiry, and the index.php and htaccess in the root points to the site. The plugin works by blocking the page, but I can't view the site when I am logged in either.

    http://wordpress.org/extend/plugins/ultimate-coming-soon-page/

  2. John Turner
    Member
    Plugin Author

    Posted 2 years ago #

    Strange, I have my install in a sub folder and it works fine. I use the wp variable to is_user_logged_in to determine whether to show the page or not.

    Does you index.php in the root just do a redirect or it a top level site. Can you post the contents of your htaccess. I'll see if I can reproduce the issue in my dev environment.

    Also if you want to debug it yourself. Check the value of is_user_logged_in on line 37 in file inc/config.php

    if ( !is_user_logged_in() || (isset($_GET['cs_preview']) && $_GET['cs_preview'] == 'true')) {

  3. draivika
    Member
    Posted 2 years ago #

    Thanks it works now, I think it had to do with something else I was doing on the server. PLugin works great!

  4. jaonenla
    Member
    Posted 2 years ago #

    I'm having the same issue. Could you share what fixed it?

    I checked the value referenced above and it was the same as above.

  5. John Turner
    Member
    Plugin Author

    Posted 2 years ago #

    I'm not sure how he fixed his issue. Hopefully he'll reply.

  6. draivika
    Member
    Posted 2 years ago #

    Sorry, I don't remember what the fix was. I've used this plugin since then on the same setup without that issue.

  7. tytecurl
    Member
    Posted 1 year ago #

    Hello
    I have the same problem, i have edited my index.php to direct my main site http://www.tytecurl.com to my WordPress, but my coming soon page is only showing here: http://www.tytecurl.com/tytecurlwp/

    any ideas?

  8. jaonenla
    Member
    Posted 1 year ago #

    I updated my WordPress version and it works now. Don't know if that will help.

  9. tytecurl
    Member
    Posted 1 year ago #

    I am using the latest version 3.3.2??

  10. John Turner
    Member
    Plugin Author

    Posted 1 year ago #

    I see your coming soon page on your main site as well http://screencast.com/t/GxmAerX5xPZh

  11. tytecurl
    Member
    Posted 1 year ago #

    ok lol, now i feel silly
    I am POSITIVE it wasnt there before...:-)

    Thanks for your quick response and help

  12. jaonenla
    Member
    Posted 1 year ago #

    Something about the update fixed my problem. So maybe try deleting the plugin and re-installing?

    ETA. I see I'm a little late. Glad it's working. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic