• ivyleaf

    (@ivyleaf)


    Good day,

    I followed this Giving WordPress its Own Directory guide and successfully separate the blog homepage to be different from the directory. As my provider is Plusnet, the URLs in Options look like following,

    WordPress address: https://ccgi.username.plus.com/wordpress
    Blog address: https://ccgi.username.plus.com

    It worked OK as so far.

    ————————————————–

    Not until I changed the Blog address to a domain I bought before the problem occured. Let’s call the domain name “domainname”.

    So I changed the Blog address to “https://www.domainname.com” and redirect DSN to “ccgi.username.plus.com” where “index.php” is under.

    And here is the scripts in “inder.php” look like.

    <?php
    /* Short and sweet */
    define(‘WP_USE_THEMES’, true);
    require(‘./wordpress/wp-blog-header.php’);
    ?>

    As I tested the URL, “https://www.domainname.com&#8221;, the redirection loop started. After the loop stoped the message on Firefox is:

    The page isn’t redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    * This problem can sometimes be caused by disabling or refusing to accept cookies.

    Could anyone save me from this frustration?

    Thank you for the time in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter ivyleaf

    (@ivyleaf)

    As I suspected it is the problem caused by “.htaccess” I check again the permalink structure.

    # BEGIN WordPress

    # END WordPress

    There are two “.htaccess” files. One is under “https://ccgi.username.plus.com&#8221; and the other one “https://ccgi.username.plus.com/wordpress&#8221;.

    I have tried to recreat “.htaccess” by using host’s control panel several times but they both all look the same.

    Any suggestions?

    Thread Starter ivyleaf

    (@ivyleaf)

    Let me rephrase my question again.

    1) Installed my wordpress in “https://ccgi.username.plus.com/wordpress&#8221;

    2) Copyed the “index.php” & “.htaccess” to “https://ccgi.username.plus.com/&#8221;

    3) Bought a domain “domainname.com”

    Want all URL for “ccgi.username.plus.com” to be replaced with “www.domainname.com”.

    Could anyone have a look at the REPLY in PlusNet community & let me know how you think?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Do you have https://www.domainname.com doing some kind of forwarding or redirection to ccgi.username.plus.com? If so, then that won’t work.

    Thread Starter ivyleaf

    (@ivyleaf)

    As I said, in 3)

    Bought a domain “domainname.com

    If I only redirect/forward from “domainname.com“, the URL would go back to ccgi.username.plus.com/blah blah blah after I click the links within the blog.

    Cos I want all URL for “ccgi.username.plus.com” to be replaced with “https://www.domainname.com“.

    So I changed “blog address” in WordPress Admin panel. But this caused redirection loop. (Not sure if it is bacause it is pointing to a CCGI space)

    As the PlusNet community suggested, I should transfer the domain hosting to PlusNet then they will point “https://www.domainname.com” to the CCGI space for me.

    I am just wondering if this is the only solution.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Yes, that is the only solution. A redirect/forward will not work in the way you want it to work.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Loop redirection when changing Blog address (URL)’ is closed to new replies.