Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 283
  • Last Modified:

Temporary WordPress links adding extra domain

We've built a WordPress site using a temporary domain.  

66.147.xxx.xxx/~yyyyy/operationbarnabas.net/

We're ready to change the dns on the domain to point to the new site.  I went into the WordPress settings and changed the site addresses to http://operationbarnabas.net.  Then I tried to log into the Wordpress admin area and got an error because WordPress was looking for just http://operationbarnabas.net.

So I went into the database, changed the siteurl and home entries back to 66.147.xxx.xxx/~yyyyy/operationbarnabas.net/ in the options table.  

That brought the site back up, but now when I click a menu link, it adds a ~yyyy to the address.

66.147.xxx.xxx/~yyyy/~yyyy/~cenation/operationbarnabas.net/get-involved/

Any ideas how to drop the extra ~yyyy?  Also, when I switch the DNS on operationbarnabas.net to go to the new server, will everything work if I switch the siteurl and home to http://operationbarnabas.net?  The site has heavy traffic for us now and it would be bad to have it go down.

Thanks,

Steve
0
stkoontz
Asked:
stkoontz
  • 3
  • 2
1 Solution
 
Jason C. LevineNo oneCommented:
Is it only menu links that show the extra path info?
0
 
stkoontzAuthor Commented:
I just clicked on a picture and the extra path info was there.  Other than links, everything looks fine on the page.

When I scroll over the menu and pictures, the link that shows at the bottom of the browser is fine.  It's after I click the link, that the extra path info shows up.
0
 
Jason C. LevineNo oneCommented:
Check wp-options again to see if the extra path is there under a different key
0
 
stkoontzAuthor Commented:
Thanks for the help.

I solved this by setting up the site on the old domain.  Once traffic drops this fall, I'll shut down the site for the few hours it takes me to switch it to the new domain.
0
 
stkoontzAuthor Commented:
Although I appreciate the efforts of the experts who responded, no workable solution was suggested.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now