rbalius
Sophomore
Just Getting Started
Member Likes (0)
I have 70 some odd pages named like this. http://74.53.229.82/~jmcprodu/?page_id=75
The IP 74.53.229.82 is pointed to the main domain. How can I rename. them to main domain name verses the IP #?
Richard

Responses (7)
Member (joined March 2012) Likes (0)
You will probably need to find and replace all instances of that ip address with the domain name.
Here is a good link I used when I changed domains. http://codex.wordpress.org/Changing_The_Site_URL
Support Kangaroo (joined March 2011) Likes (0)
Greetings Richard,
Welcome to WPMU Dev!
We first need to figure out where the IP initially came into play.
Was WordPress originally installed using the IP instead of a Domain Name?
Please advise.
Cheers, Joe
Member (joined December 2011) Likes (0)
Unless you are using a mod_rewrite with a redirect the first guess I would have is that there is a DNS error in how it resolves the IP to domain in the A Record...The only other way I could think it to be happening is if you have the IP address instead of domain in the Dashboard under "settings" "general Settings" if this is set to the actual domain name and it is still going to your ip and ~homedirectoryname then there is something not right in the dns settings, if you are being hosted I would ask their support to look into this for you unless you are on an unmanaged server in which case let me know and I will do some further investigation and help you get it corrected.
Hope this helps
WPMUDEV-ian (joined November 2011) Likes (0)
Hello rbalius,
Just checking in to see whether you got it resolved or not.
Please advise
Cheers
PC
Member (joined January 2012) Likes (0)
I think the simple answer is this:
1. Export the database via phpmyadmin in sql format
2. Make a copy of the original file
3. Do a search and replace (search for ip and replace with domain) on the copy and save it
4. Use phpmyadmin and delete all tables
5. Import the copied file you did a search and replace on
If it breaks for some odd reason, just delete all tables and import the original file.
WPMUDEV-ian (joined November 2011) Likes (0)
@rbalius :
Did you happen to try the above ?
Cheers
PC
WPMUDEV-ian (joined November 2011) Likes (0)
@rbalius,
Greetings.
We haven't heard from you on this for long. Have you got this sorted out ? If yes, then its a great news and we would love to read what you did to get this fixed.
I am going to mark this thread as resolved, in case you haven't got it sorted out, please go ahead and mark this topic as open and we would be here to assist you :)
Cheers
PC
Become a member