Forums

[resolved] Issues with installing on GoDaddy (23 posts)

  1. yakimova77
    Member
    Posted 2 years ago #

    My domain is hosted by GoDaddy and they installed Word Press.

    This is what the configuration code currently looks like:

    <?php
    //Connect To Database
    $hostname='out0923310444676.db.4611885.hostedresource.com';
    $username='out0923310444676';
    $password='your password';
    $dbname='out0923310444676';
    $usertable='your_tablename';
    $yourfield = 'your_field';

    mysql_connect($hostname,$username, $password) OR DIE ('Unable to connect to database! Please try again later.');
    mysql_select_db($dbname);

    $query = 'SELECT * FROM $usertable';
    $result = mysql_query($query);
    if($result) {
    while($row = mysql_fetch_array($result)){
    $name = $row['$yourfield'];
    echo 'Name: '.$name;
    }
    }
    ?>

    When I go to http://www.outcastgirls.com/blog i get the following error message:

    "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.

    ALSO, I'M UNABLE TO LOGIN TO:
    http://www.outcastgirls.com/blog/wp-admin/ - I used the same admin name and password I use to login to my WordPress account.

    I contacted GoDaddy but they are clueless as always. They asked me if my blog is redirected to the dedicated IP address or to my domain... when they are the ones who did the install, not me! How can I possibly know what they did. This is outrageous! So please, if you know a solution let me know because I can't deal with the incompetent GoDaddy anymore.

  2. 0nedollar
    Member
    Posted 2 years ago #

    I can help but need a little bit of info. Your config file looks correct! It seems to be DNS! I can probably fix it fast with temporary access to your DNS. I just set mine up with no problem but I did the install myself. And I also installed it to a subdomain successfully.

    http://onedollar@securewebsurfing.com

  3. 0nedollar
    Member
    Posted 2 years ago #

    I checked again it is definatly being redirected but not sure how or why without seeing the DNS.

  4. Go Daddy
    Member
    Posted 2 years ago #

    @yakimova77
    Looks like your site goes to an Oops page now instead of redirecting. If you run into a redirect issue again, try renaming the .htaccess to .htaccess.txt to see if the site resolves. If you can get to your site after renaming it, then the .htaccess is the issue.

    *Please understand that modification of the .htaccess file may cause issues with your site resolving properly. Make sure to name it back to .htaccess once you have completed this troubleshooting step.

    As for the logging in issue, if you installed in Hosting Connection you can review your login information by clicking 'Your Applications' in the Hosting Control Center. From there select 'My Applications' and 'Install Details' to view these details.

  5. yakimova77
    Member
    Posted 2 years ago #

    This is what my .htaccess looks like... I don't think there's an issue with it. I have only used it to redirect my old blog and my website, but there isn't anything related to WordPress. Should anything be added in .htaccess to redirect WordPress correctly?

    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^outcastgirls.com$ [NC]
    RewriteRule ^(.*)$ http://www.outcastgirls.com/$1 [L,R=301]
    RewriteCond %{HTTP_HOST} ^outcastgirls.blogspot.com$ [NC]
    RewriteRule ^(.*)$ http://www.outcastgirls.blogspot.com/$1 [L,R=301]
    RewriteRule ^(.*)-(.*)/(.*)\.html index.php?app=$1&ns=$2&ref=$3 [L,PT]

    The reason "Oops" was showing for awhile is because I uninstalled WordPress. I installed it again but still isn't working.

    I did not see any changes in the Domain Manager. No nameservers were added. I did not see anything added in the DNS either.
    Should I add a new CNAME or A (Host)?
    The only thing I noticed is that my host is pointing to my IP address and GoDaddy suggested it points to outcastgirl.com but I'm not sure what they were referring to exactly and what would be the impact on my website. This is what they sent me:

    "The http://www.outcastgirls.com/blog URL is displaying a redirect loop so you may want to troubleshoot your htaccess file configuration to ensure it is configured properly. We reviewed your hosting account with our advanced hosting support and they advise that you check your WordPress settings to ensure that it is properly set to point to outcastgirls.com and not the dedicated IP address."

    Where can I find the WordPress settings? Are they talking about wp-settings.php? There is no IP address in that file.

  6. yakimova77
    Member
    Posted 2 years ago #

    I should probably mention that I still have the CNAME for my old blog:

    CNAME: feeds.outcastgirls.com Points to: ghs.google.com

    I don't know if that has anything to do with the WordPress install.

    Thank you kindly for your help. I do appreciate it very much.

  7. Zulfikar
    Member
    Posted 2 years ago #

    Rename your .htaccess and try again.

  8. yakimova77
    Member
    Posted 2 years ago #

    Why rename the .htaccess? This will screw up my shopping cart...

  9. Zulfikar
    Member
    Posted 2 years ago #

    If your blog isnt working what good is the shopping cart? The suggestion is for you to rename the htaccess so that you may gain access and try to resolve the redirect problem. Once its resolved you can rename it back - note I didnt say "DELETE" htaccess.

    What is causing the redirect may I ask?

    This is what my .htaccess looks like... I don't think there's an issue with it. I have only used it to redirect my old blog and my website, but there isn't anything related to WordPress.

    Are using to redirect this blog too?

    Besides

    The reason "Oops" was showing for awhile is because I uninstalled WordPress. I installed it again but still isn't working.

    If its a new install, is that htaccess even in the right place?

  10. yakimova77
    Member
    Posted 2 years ago #

    If your blog isn't working what good is the shopping cart?

    The question is: If my shopping cart is not working, what good is the blog?

    I don't make money off of my blog - I make money off of my online store, which is why the shopping cart is essential. If I rename the .htaccess the shopping cart will not work.

    This is an e-commerce site. The blog is only used as a SEO tool to increase traffic and promote my product.

    There is no .htaccess file in the WordPress directory. The .htaccess file I'm talking about controls the shopping cart and the entire e-commerce site. What I'm trying to find out is if I should make any changes in my current .htaccess file or create a new .htaccess in the WordPress directory. And if so, what kind of changes.

  11. 0nedollar
    Member
    Posted 2 years ago #

    The problem is not in the htaccess. Again it is in the domain name services in your control panal! email me at petrock123@gmail.com Ill send you some info or I can call you and walk you through the checking on the phone. Its a simple fix! Its still redirecting which you can not see in a browser. I have several succesful wordpress set up and have been through this with godaddy several times.

  12. 0nedollar
    Member
    Posted 2 years ago #

    yakimova77 your site looks good.

    TIP:
    Everyone with a godaddy hosting account!

    I recommend to give godaddy’s DNS at least one hour after adding any sub domains or changing any A or Cname fields. This will give the DNS time to correctly find your files. Do not add anything to your file system during this one hour! Set it and leave it alone this will save you a lot of frustration! Also if you are creating a subdomain like to add wordpress in. Do not install WordPress untill the 1 hour mark has passed. Sometimes you can get lucky and the DNS will set up faster just wait! Again its only 1 hour and you will be a "Happy WordPresser".

    Cheers

    0nedollar

  13. happycheaply
    Member
    Posted 2 years ago #

    how iis7 pretty link?

  14. mrmcq
    Member
    Posted 1 year ago #

    Hey GDHosting,

    This is a common problem I've been having when adding new blogs to my GD website...but you were right, it worked after changing the .htaccess file. I'll try playing with the rewrites and see if anything in particular makes a difference for other people to try! I have the file in my root directory, no .htaccess in the blog folder...so its odd. Will update...

    Thanks

    Zach

  15. mrmcq
    Member
    Posted 1 year ago #

    GOT IT...

    I created a rewrite to solve concatenation issues...

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^zachmcqueary.com [NC]
    RewriteRule ^(.*)$ http://www.mywebsite.com/$1 [L,R=301]
    </IfModule>

    Instead, its sending my new wp blog into a loop without end, which is located as such: http://www.mywebsite.com/folder/blog/...no other .htaccess in any of these folders though. Any thoughts?

    Zach

  16. mrmcq
    Member
    Posted 1 year ago #

    PROBLEM SOLVED:

    Change .htaccess BRIEFLY to remove any redirect from http://site.com to http://www.site.com or visa vesa. Then go to your blog's settings and set the wordpress and blog address to the concatenation of your choosing...OTHERWISE, wp and the .htaccess go back and forth trying to redirect.

    Voila, hope this answers some questions...it answered MINE hahaha

    Cheers

    Zach

  17. laurenw
    Member
    Posted 1 year ago #

    I just ran into the problem installing WordPress in a "blog" subdirectory on GoDaddy economy linux hosting using Godaddy's automatic install wizard.

    When I navigated to the URL websitename.com/blog, I got a "this page isn't redirecting properly" error. When I tried logging into the admin URL at websitename.com/blog/wp-login.php, I couldn't log in and I wasn't then shown the /blog/wp-admin/ directory, which is what should happen.

    It turns out that GoDaddy's automatic WordPress install wizard didn't plop the .htaccess file in the /blog directory so I just created the file in there, and pasted what normally would be in this file (from http://codex.wordpress.org/Using_Permalinks ) and then it all worked:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
  18. laurenw
    Member
    Posted 1 year ago #

    Apparently before I set up "pretty" permalinks, I needed to remove the commented out "begin" and "end" lines from my message above in order for WordPress to be able to paste its own bits into the .htaccess file::

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>
    
    # END WordPress

    The only differences are that the rewritebase and rewriterule lines contain the sub-domain that I installed the wordpress files into so although I had set the file up so that I could navigate to my wordpress blog and admin pages before, it wasn't correct enough to not screw up permalinks.

  19. jonikw
    Member
    Posted 1 year ago #

    I am setting up a WordPress site for a client who has an existing HTML site on GoDaddy. During the development phase of the WP site I obviously do not want to disrupt anything on the current site.

    My question is: Can I install the WP in the root and work on developing the site without causing any conflicts to the HTML site? Will I be able to browse to the WP site?

  20. MichaelH
    Volunteer
    Posted 1 year ago #

    You kind of can't do that. But you might consider installing WordPress in a sub-folder such as blog, and do your testing by visiting mydomain.com/blog. Then when ready to go live, to make WordPress available at http://mydomain.com in Settings->General, change the Blog address (URL) to http://mydomain.com and put this index.php file in your web-root folder (same folder that contains the blog folder)

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

    Then update your permalinks by visiting Administration > Settings > Permalinks and clicking on Save Changes.

  21. jonikw
    Member
    Posted 1 year ago #

    Thank you. Trying to make sure I understand.

    If I install WordPress to say: mydomain.com/wp and do all the development - all the necessary files and uploads for the NEW site are located within the /wp folder. During devel. my Settings->General for Blog address says http://mydomain.com/wp

    Then to switch over and go live I just have to:
    1. Change the Settings->General to: http://mydomain.com
    2. Put the index.php file shown above in the root

    Do I need to delete the index.html file from the root so it loads the index.php?
    How do I redirect links to the old html pages?

  22. MichaelH
    Volunteer
    Posted 1 year ago #

    You've got it right.

    Do I need to delete the index.html file from the root so it loads the index.php?

    Delete it or rename it.

    How do I redirect links to the old html pages?

    http://www.google.com/search?q=wordpres+plugin+redirection

  23. jonikw
    Member
    Posted 1 year ago #

    Thank you Michael and apologies to keep asking questions ...

    put this index.php file in your web-root folder (same folder that contains the blog folder)

    If I install into a /wp folder vs. your /blog example - do I have to change the require('./blog/wp-blog-header.php'); in your example to require('./wp/wp-blog-header.php');

    Also - will the process of updating the permalinks then make a page such as: http://mydomain.com/wp/about become http://mydomain.com/about

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags