The MU forums have moved to WordPress.org

Page isn't redirecting properly (9 posts)

  1. groovybmw
    Member
    Posted 18 years ago #

    I've just downloaded, unzipped, and installed wpmu 1.0RC4 in the root of my domain with the SubDir option chosen. I am on a shared hosting server running Apache 1.3.29. I ran the install and everything went fine.

    However, when I type http://openpagepublishing.com/ into the address bar, I get "Page cannot be displayed" in IE and the following error in FF:
    "Firefox has detected that the server is redirecting the request for this address in a way that will never complete."

    I played with the .htaccess file (changed the % to $ in the first RewriteCond line) and at least got the content to display, but with no formatting. Here's my .htaccess file as it stands now:

    RewriteEngine On
    RewriteBase /

    # Rewrite http://www.domain.com to domain.com
    RewriteCond ${HTTP_HOST} ^www\.(.*)
    RewriteRule ^(.*) http://%1/$1 [R,L]

    #uploaded files
    RewriteRule ^(.*)?/?files/(.*) wp-content/blogs.php?file=$2 [L]

    RewriteCond ${REQUEST_FILENAME} -f [OR]
    RewriteCond ${REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    I'm at a loss here--any help would be great. Thanks.

  2. drmike
    Member
    Posted 18 years ago #

    Looks like something got mucked up on the install. I can see the site fine from here (Netscape 7.2) but all of the links are incorrect. Taking a look at the source code, MU thinks the domain is 'com'. Just 'com'. Something ain't right there. best bet would be to delete everything and try again.

    The redirect issue with FF is a common problem with FF. Clear your cache completly and try again. Files, cookies, everything. Put the htaccess back the way it was.

  3. groovybmw
    Member
    Posted 18 years ago #

    Also, the user_url in wp_users is: http://com/openpagepublishing/

    This doesn't seem kosher. Thoughts?

  4. groovybmw
    Member
    Posted 18 years ago #

    Okay, I will try the reinstall. Thanks for the help.

  5. groovybmw
    Member
    Posted 18 years ago #

    Alright, tried the reinstall and got the same problem. This time, however, I have left the .htaccess file as is so that you all can experience the redirect issue.

    RewriteEngine On
    RewriteBase BASE/

    # Rewrite http://www.domain.com to domain.com
    RewriteCond %{HTTP_HOST} ^www\.(.*)
    RewriteRule ^(.*) http://%1/$1 [R,L]

    #uploaded files
    RewriteRule ^(.*)?/?files/(.*) wp-content/blogs.php?file=$2 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    Thanks in advance for your help.

  6. samchng
    Member
    Posted 18 years ago #

    BASE/ not suppose to to be there.

  7. groovybmw
    Member
    Posted 18 years ago #

    I appreciate the help, but I have resolved it in a different manner. This problem was a bit deeper than I had originally thought. So if you are reading this after this post, please don't consider the above dialogue a solution.

  8. drmike
    Member
    Posted 18 years ago #

    I politely suggest that maybe letting us know what the issue was would be a better idea instead of hinting at it.

  9. groovybmw
    Member
    Posted 18 years ago #

    No problem.

    Looking into the source code I confirmed what you had mentioned earlier "MU thinks the domain is 'com'" and then thought a little about how I ran the install. When I did the install I told MU that I was installing it at openpagepublishing.com (keep it simple, w/out www says MU). Apparently MU thought that I was actually installing it in a subdomain of 'com' instead of realizing that openpagepublishing.com was the actual domain.

    While I don't understand why MU did this, I got around the problem by installing MU in the subdomain writings.openpagepublishing.com. I had a hunch it would work and it did. This isn't an ideal solution as I would have liked it installed in the root folder but I don't have the technical chops to try to modify .htaccess or any other files that would have needed some adjustment.

    In hindsight, perhaps I should have entered openpagepublishing.com/ instead of just openpagepublishing.com. If I try it again and it works I'll post here.

    Thanks for the help though.

About this Topic

  • Started 18 years ago by groovybmw
  • Latest reply from groovybmw