Wordpress Problem

mrcortez

BANNED
Joined
Jan 23, 2012
Messages
108
Reaction score
25
Hello, I am trying to set up a wordpress site, everything is working with the theme and all, but for some reason everytime I go to my site it shows http://www.mysite.com/default.php.. I just want it to show the site http://www.mysite.com, not the /default.php part.. What am I doing wrong? Help me fix this!
 
Last edited:
In the admin panel, under the side links > settings > permalinks > change your common settings.
 
I gave that a try, and for some reason it went straight the the hosting site and said there was an error.. Did I do something wrong in the file manager? I'm thinking I uploaded the wordpress web software wrong..
 
Last edited:
That's strange, if you configured your permalinks you should get that /default.php added to your url, try deleting the default.php (first make a backup of this file), your server must be giving priority to default.php instead of index.php from your WordPress.
 
hm, well when i log into the file manager, the first thing I see is public_html.. When I open that, that's where I have the default.php and thats the wordpress software I uploaded, I renamed it, wordpress to default.php.. Is it placed in the right spot? Thanks!
 
Last edited:
Default.php is uncommon to any base install of WP I have ever seen.

It should be index.php.

The past commenter was correct, just deleting (or simply renaming i.e 1default.php) the file should correct the issue.

The file location you describe is the correct location for the wpinstall

Its probably overkill, but the WP hierarchy may help you (youll notice that default.php is not referenced)
http://codex.wordpress.org/Template_Hierarchy
 
One way to eliminate the default.php file is as follows:
1. Enter "Members Area" -> CPanel for your site
2. Click on "File Manager"
3. Click the checkbox that appears next to the default.php file
4. Press the Delete button
 
Back
Top