Support » Fixing WordPress » URL change

  • Resolved freakawn

    (@freakawn)


    Hey all, I was just trying to get the /wordpress out of my url, (I’m a little newby) and while trying to do so, (I removed the /wordpress from my settings) I managed to make it so i cannot log into my wordpress account. It brings me to a 404.

    Can anyone help me with this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • themovieman

    (@themovieman)

    Not entirely sure, but maybe editing your .htaccess file?

    Before trying what I say below, where is your WordPress installed? Is it something like public_html/wordpress/? If it is, try the following (again, I’m not entirely confident, but it’s worth a try).

    1. Using an FTP program (I recommend Filezilla), download the .htaccess file within the “wordpress” folder and save it into a backup folder (call it what you want, just so you can find it later if need be). To do so in Filezilla, just right click the file and click “Download”. I’m sure other FTP programs are similar.

    2. Then open notepad, copy and paste the code below and save it as .htaccess (including the period) to a place where you find it making sure it is not in same folder as the backup copy.

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

    3. Using Filezilla (or whatever FTP program), upload the new .htaccess you just created to the “wordpress” folder and overwrite the one currently in that folder. To do this in Filezilla, right click the file (from your computer side of the window pane, usually on the left side) and click “Upload”, a window will open asking if you want to overwrite that file; select OK.

    Try that and see if you can access your site. If it still doesn’t work, get the old .htaccess file, upload and overwrite the newer one just to get back to the way it was and hopefully someone more knowledgeable can help.

    If you need additional help, I have subscribed to this thread.

    themovieman

    (@themovieman)

    Although I have a WordPress site myself and am able to work my way through some of the basics, I am not advanced user by any stretch thus making the backup .htaccess file is highly suggested.

    Alwyn Botha

    (@123milliseconds)

    Thread Starter freakawn

    (@freakawn)

    I’m terribly sorry, I rewrote my post and forgot to put back in that i did it from godaddy.com, I feel stupid, sorry for wasting your time.

    Thread Starter freakawn

    (@freakawn)

    Figured it out. I was under /wordpress, so it was showing as /wordpress.

    I just left the Directory field blank when signing up for it on godaddy, for anyone who is having the same problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘URL change’ is closed to new replies.