• Hi there,

    I’m a newbie with all that WordPress stuff, so it was a matter of time until I got stuck in the middle of the installation process.

    Well, I am using GoDaddy’s web-hosting service (with cPanel Managment). I downloaded WP via Installatron.

    everything appeared to be well until I tried to login using the “mydomain.com/wp-login.php” or wp-admin or any other login configurations available, yet it keeps redirect me to “www.mydomain.com/?f” URL which opens the website regularly as if I entered the original URL “www.mydomain.com”. There is no mention to WP anywhere on the website.

    Anything I have tried failed so far.

    Maybe you guys have the solution to this problem. Thank you !!!

Viewing 14 replies - 1 through 14 (of 14 total)
  • Open an FTP client and download the file wp-config.php from the root of your wordpress installation
    At the buttom appen these 2 lines, replacing yourdomain with the correct link to your installation. That might help.

    define( ‘WP_SITEURL’, ‘https://yourdomain.com’ );
    define( ‘WP_HOME’, ‘https://yourdomain.com’ );

    Thread Starter saliniv2

    (@saliniv2)

    Root directory means the directory on my folder ?

    Yes. You will find these folders in the same folder after a new install. If your install is old or has aditional content there might be more folders, but these 4 will allways be in the root dir.
    wc-logs <dir>
    wp-admin <dir>
    wp-content <dir>
    wp-includes <dir>

    Thread Starter saliniv2

    (@saliniv2)

    Sorry for the silly question, but how do I use this FTP Client and how do I download the wp-config file ?

    EDIT : I downloaded the wp-config.php file from my cPanel File Manager X,
    and after transfering the file into the wordpress folder on my desktop I edited it using Notepad++ yet I cannot find the 2 lines youv’e mentioned above.

    Is that normal ? What am I doing wrong ?

    FTP clients come in all flavors. What you will see with your client (program) is access to a folder that contains all your files and folders (aka directories) on your server. Most FTP clients will let you “drag and drop” from your server onto your local computer. Some have editors built in, so you just say “Edit,” which will open the file for you to edit, then you “Save” and it saves it back on the server.

    On Windows, I use CuteFTP Pro, which is a paid program, but I have found it well worth the price (but there are also many free program out there as well).

    Thread Starter saliniv2

    (@saliniv2)

    I downloaded the wp-config.php file from my cPanel File Manager X (I can also edit it “live”),
    and after transfering the file into the wordpress folder on my desktop I edited it using Notepad++ yet I cannot find the 2 lines youv’e mentioned above.

    Is that normal ? What am I doing wrong ?

    Thread Starter saliniv2

    (@saliniv2)

    CORRECTION : I opened wp-config via cPanel File Manager and I am able to edit it just like you said yet these 2 lines do not appear on the file.
    Any suggestions ?

    I also tried to add the 2 lines to wp-config.php, but the problem continues as before.

    Thread Starter saliniv2

    (@saliniv2)

    …Anyone ?

    Thread Starter saliniv2

    (@saliniv2)

    *UP*

    Download Filezilla FTP Cliente. You need ftp username and password (that is in cpanel). Then you can modify all the files you want. In iris I′m using Filezilla to modify all the wp-config I need.

    Thread Starter saliniv2

    (@saliniv2)

    I still can’t find these 2 line in wp-config.php

    Is that normal ?

    Its completely normal. By default they are missing.
    What they do is that they specify the path to your wordpress installation. Some people need to move the their site from developer servers to live envioments and the 2 lines will help wordpress locate its own files in a new envioment.
    I was thinking thay your installation might have problems finding its own files the right place. APPENDING the 2 lines to the wp-config file will specify exatly where the installation is located

    Still waiting …

    Thread Starter saliniv2

    (@saliniv2)

    I tried to add the 2 lines via cPanel File Manager (is that okay? or should i use FileZilla?) but frankly, i’m not sure if i’m doing it correctly. I have a wordpress folder on my computer’s desktop, but I also installed the wordpress with INSTALLATRON. I’m really not sure which wordpress path you mean, and how to write it.

    could you be more specific on what am I suppose to write instead of ‘https://yourdomain.com&#8217; part ?

    THANK YOU all for your help and sorry for my confusions !

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Cannot login to WP using adress method.’ is closed to new replies.