I finally got a fix on my problem which seems to be the same or similar as what you’re experiencing.
Mine was a new install into a sub-directory and then I couldn’t log-in the same as everybody.
What i did, I got the new URL pointed at the right sub-directory without any redirects in place.
Then I went into cPanel/file manager (or you can do this editing with ftp) to the functions.php file located here wp-content/themes/default/functions.php
Then Edit this file at the very top of the functions.php file on the next line after the <?php
add these two pieces of code:
update_option(‘siteurl’,’http://your-new-domain.com/’);
update_option(‘home’,’http://your-new-domain.com/’);
Then go and log-in to the blog admin a couple times.
like at the new address: /wp-login.php
Then go and remove the two pieces of code listed above from the functions.php file .
This was just for a new wp-install but I’ve done this on a couple that i was having the same trouble as above and that fixed it.
Cheers
I tryed your procedure but no luck, it still won’t log in from the url
The URL is http://SellingPriceOfGoldCoins.com
someone please look at this and tell me what i’m doing wrong???
rafael59 – seeing a directory of your files could be solved by one of these:
Solution 1
If allowed by your host, putting this in an .htaccess file will solve the problem:
DirectoryIndex index.html index.htm index.php
Solution 2
Some hosts allow you to make a change, via their hosting control panel, to the DirectoryIndex. It’s typically described as Indexes or Index documents, but may also require you to type something like
DirectoryIndex index.html index.htm index.php
or specify index.php as an index type file.
Solution 3
Instruct Apache to treat index.php as an index file. If you own the server, or have access to the http.conf file, simply modify the DirectoryIndex line in httpd.conf to:
DirectoryIndex index.html index.htm index.php
This search of the forum found the solutions described above:
http://wordpress.org/search/displays+directory?forums=1