WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Logged into Dashboard but Site Not Detected (13 posts)

  1. end_user
    Member
    Posted 5 years ago #

    I'm getting this message on my browser for preview:

    Redirect Loop

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    The browser has stopped trying to retrieve the requested item. The site is redirecting the request in a way that will never complete.

    * Have you disabled or blocked cookies required by this site?
    * NOTE: If accepting the site's cookies does not resolve the problem, it is likely a server configuration issue and not your computer.

    If direct enter of esoftcafe.com to browser, I get:

    Index of /

    * admin/
    * cgi-bin/
    * wp09/

    I used config of: http://www.clearpointsystems.com/ewpi.php#d2

    Where did I go wrong?

  2. end_user
    Member
    Posted 5 years ago #

    I have read and tried every thread relating to this issue posted here.

    I have tried the disable-canonical-redirects plugin.

    I have deleted cookies to the site.

    I have downloaded plugins from directory and deleted plugins and php file.

    I have not made any headway in resolving this issue.

    Does anyone have any suggestions?

  3. Samuel B
    moderator
    Posted 5 years ago #

    going here is what I get
    http://esoftcafe.com/wp09/wp-admin/install.php

    Error establishing a database connection

  4. end_user
    Member
    Posted 5 years ago #

    I just deleted the whole thing and started from scratch.

    I'm able to login to my dashboard but to preview or go to the site produces the same results as before.

  5. end_user
    Member
    Posted 5 years ago #

    Preview of posts or visit site buttons give me:

    Redirect Loop

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    The browser has stopped trying to retrieve the requested item. The site is redirecting the request in a way that will never complete.

    * Have you disabled or blocked cookies required by this site?
    * NOTE: If accepting the site's cookies does not resolve the problem, it is likely a server configuration issue and not your computer.

    Directly entering to browser address bar gives me:

    Index of /

    * wp09/

    It's killing me!

  6. end_user
    Member
    Posted 5 years ago #

    my index.php file has:

    <?php header("Location:http://www.esoftcafe.com/wp09/"); ?>

    and nothing else.

  7. s_ha_dum
    Member
    Posted 5 years ago #

    Which index.php are you talking about? The index.php in my root folder doesn't look like that, nor does the index.php in either my classic or default themes (which look like you only themes you have right now). Plus, this looks like just the kind of thing that would create an infinite loop if it is redirecting to the same folder in which it resides.

  8. end_user
    Member
    Posted 5 years ago #

    I used the example posted here to point to my wp09:

    http://www.clearpointsystems.com/ewpi.php#d2

    My hierarchy is:

    root / public_html / wp09 / index.php

    wp09 is where all my WordPress folders and files are, including the index.php file I coded with

    <?php header("Location:http://www.esoftcafe.com/wp09/"); ?>
    to point to that folder. I thought that's what the example meant for me to do.

  9. end_user
    Member
    Posted 5 years ago #

    Here's the full explaination for it:

    If you want visitors to arrive at your blog when accessing http://www.mywebsite.com (without having to add /wp02/ on the end), you can easily do this.

    Put the following line of code (and nothing else) in your public_html/index.php:

    <?php header("Location:http://www.mywebsite.com/wp02/"); ?>

    and your visitors will be transparently directed to your blog in /wp02/.

  10. s_ha_dum
    Member
    Posted 5 years ago #

    I think you misread that. The index file with the redirect needs to be in the same directory as /wp09/ not in /wp09/. The only thing you should put in /wp09/ are the WP distribution files, including the index.php that comes with WP. In other words, you should have 'root/public_html/index.php(the one you made)' and 'root/public_html/wp09/index.php(the one that comes with WP)'. And of course /wp09/ should have the other WP files and directories.

    Why are you doing it this way, though? If you just drop the /wp09/ altogether and put everything in 'root/public_html/' you'd get the same effect. I don't see the point of the redirect.

  11. end_user
    Member
    Posted 5 years ago #

    Thank you apljdi for responding. I am new to this - obviously.

    My understanding is that it would allow me to invisibly direct traffic to this blog while having other blogs, say /travel/, /testing/, or whatever.

    If this is not the standard and will cause added problems, then please share with me. I am open to suggestions from ones who know better.

    But if once I have set up this way properly, I think I understand the benefit of this as explained in the install tutorial at:

    http://www.clearpointsystems.com/ewpi.php#d2

    - Now, as I understand your explanation for this setup... I could copy this index.php into the public_html where it will be alongside the wp09 files and remove the code that is currently in the index.php, leaving nothing there.

    I will check back here later today to see if you confirm my assumption before doing this - when I have the time to work on this.

    Thanks again for your help.

  12. s_ha_dum
    Member
    Posted 5 years ago #

    Oh, I see. You want multiple blogs but you want /wp09/ to be the default blog. That makes sense. Then you are right to have it in a subdirectory.

    - Now, as I understand your explanation for this setup... I could copy this index.php into the public_html where it will be alongside the wp09 files and remove the code that is currently in the index.php, leaving nothing there.

    Almost. You'd copy, or move, the index.php (the one that has the redirect) up one level to public_html so that in the folder public_html you have the file index.php plus the folder wp09. But inside the /wp09/ folder you still need an index.php. Specifically, you need the index.php that ships with WP. It is a short file-- a dozen or so lines-- but it must be there for WP to work.

  13. end_user
    Member
    Posted 5 years ago #

    Perfect!

    Thank you very much apljdi.

Topic Closed

This topic has been closed to new replies.

About this Topic