inspecta
Member
Posted 4 years ago #
Ok, im a relative newbie when it comes to making websites and such. I just started with wordpress about a week ago, and I want to go live, but I don't know how. Right now my url is http://www.myparentalinsanity.com/wordpress However I want my site to come up just by putting in my regular domain name http://www.myparentalinsanity.com I have hosting through godaddy, and I called them cause I couldn't figure out which files I needed in my root directory and the girl said I needed an HTML redirect. If thats the case, how the hell do I do it? I wrote one page of html that redirects and loaded it to my root, but nothing happens. I get a 403 forbidden code. Please any help would be nice.
dannyboy
Member
Posted 4 years ago #
Put a file named index.php in your root dir that contains:
<?php
/* Short and sweet */
define('WP_USE_THEMES', true);
require('wordpress/wp-blog-header.php');
?>
And go into Options in your admin. area and put http://myparentalinsanity.com into the blog address field.
hope this helps! :)
inspecta
Member
Posted 4 years ago #
Ok, next dumb question, how do I save something as a PHP file? It keeps saving as an HTM file. Thank you so much for your help I do appreciate it!!!
keithblog
Member
Posted 4 years ago #
create a new file on your desktop, then copy/paste the code above into that file, then rename the file index.php
It keeps saving as an HTM file.
Who?
Use a plain text editor.
http://codex.wordpress.org/Glossary#Text_editor
inspecta
Member
Posted 4 years ago #
That worked!!!!
THANK YOU GUYS SO MUCH!!!