Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Forum: Fixing WordPress
    In reply to: Hosting

    If you’ve got a clean public_html folder, here’s how I’ve always done my wp transfers:

    1: Upload all of your WP files and folders in to public_html.

    2: Create a NEW database via phpMyAdmin (or similar) via your web control panel, ex. cPanel or the like. Write down or copy and paste the databases name, user name, and password for reference (you’ll need that in a minute). When making that database, make sure the user has ALL permissions checked.

    3: Export the database from your local copy of WP via phpMyAdmin. Open that .sql file in Notepad or Notepad++, and do a find > replace all. I believe you’ll want to find localhost, and replace it with your websites url. Doing it via find > replace all will be MUCH faster than doing it bit by bit.

    4: Back on you cPanel or the like, use phpMyAdmin to import the .sql file you just modified into the new database you created in step 2.

    5: Find the wp-config file for your WP install on your server, and change the following fields in that file:

    define('DB_NAME', 'new db name');
    
    /** MySQL database username */
    define('DB_USER', 'new db user name');
    
    /** MySQL database password */
    define('DB_PASSWORD', 'new db password');

    Remember when I told you write down the new databases name, user name, and password? Insert those values where appropriate between the ‘ ‘ marks in wp-config and save it.

    If there aren’t any other problems, then that should do it!

    A few questions so I can give you a more concise answer;

    Are you on a hosting provider, like hostgator, godaddy, or the like?

    When you say you can’t access the site via FTP, what kind of error are you getting when attempting to connect? (This may be something we could correct)

    If you’re on a hosting provider, the domain is yours no matter what you do with the files under it, so you could just delete all of your WP files, make a new database, then install it manually. If you have the option, you could also do a one-click install via something like Softaculous, and it would create the dbs and install WP for you which is pretty nifty.

    If you aren’t on a hosting provider, I’d have to do a bit of research on how to keep the domain name, but I’m sure we could figure it out.

    I don’t know if you’ve gotten this sorted, but HostGator has a support article on doing a manual install if tech support on their end can’t get it taken care of quickly enough for your liking:

    http://support.hostgator.com/articles/specialized-help/technical/wordpress/how-to-install-wordpress-manually

    This does require a bit more in-depth work on your end, but if you’re willing to get your hands dirty so to speak it’s a fun experience.

    I don’t think that a theme would cause an issue with a 301 redirect, but then again I could be wrong.

    Question is, when you visit your sites url, are you getting an error? If so, what kind?

    My suggestion is the check your .htaccess file and see if that could be the problem. Based on my limited knowledge of how to actually properly write the .htaccess stuff, here’s what I’ve got:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^example.com [NC,OR]
    RewriteCond %{HTTP_HOST} ^www.example.com [NC]
    RewriteRule ^(.*)$ http://example.net/$1 [L,R=301,NC]

    Where example.com would be the old url you are redirecting from, and example.net would be the url you are redirecting to.

    You mentioned you just went from blogspot to a self hosted site, and it might be helpful to provide the url you are trying to access in that case so we can look at where traffic is routing and such.

    Forum: Fixing WordPress
    In reply to: Hosting

    Also!

    One thing I forgot to mention is that when you purchase hosting, they will take care of domain registration for you! Pretty freaking convenient I say.

    Forum: Fixing WordPress
    In reply to: Hosting

    A few steps here:

    First you need to register your domain name, in this case ibileproductions.com. This can be done via numerous means, but generally people use companies like MelbourneIT, GoDaddy, or 1and1 for this. Search domain registrars on google and it should bring up some decent results.

    Next you need to decide whether you want to buy hosting from a company, like Godaddy, 1and1, InMotion or the like, or host the website on your own server. Hosting with an external company is easier, and can be relatively cheap, however if you run your own server you have much more control over server configuration.

    Caveat to hosting your own server is that unless you have a dedicated IP from your ISP, you’ll be updating your DNS records any time your public IP address changes, and DNS changes can take anywhere from 4 to 24 hours to propagate through the DNS network.

    Assuming that you’re going to get server space with a hosting company, it should be as simple as uploading your actual wordpress files into the public_html folder on your account, then importing your database via phpMyAdmin or the like, and modifying your wp-config file to match the information that the imported MySQL db has (db name, user, and password). Some hosting companies will actually do this for you if you ask them to, and for free to boot since it’s a relatively quick process.

    Hey there!

    404 errors are an indication that the requested resource doesn’t exist at the url that is being referenced. Make sure the resource is present at the location referenced in the link, and if not, change the link to match where the thing you’re trying to find is.

    Example, a word in a post links to example.com/image.jpg, but when you visit that link you get a 404. You look and find the actual path may be something like example.com/gallery/image.jpg, so you go back and change the href or what have you to the latter path, thus directing you to the right spot.

    If you like, provide a link to the website you are working on and we can work from there.

    ~Dan

Viewing 7 replies - 1 through 7 (of 7 total)