addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwchatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgoogleimageimagesinstagramlinklocation-pinmagnifying-glassmailminusmoremuplabelShape 3 + Rectangle 1outlookpersonplusprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

The Vancouver WordPress Meetup Group Message Board › WordPress Address (URL)

WordPress Address (URL)

Johan
user 10522272
Squamish, BC
Post #: 1
Hi

I was wondering if anybody could help me with this question:

Developed a WordPress website using a temporary domain name : http://www.dev.websit...­
Put the WordPress files not in the root folder but made a folder called: website

Now I launch the website called mywebsite and pointed this the domain http://www.mywebsite....­ to the folder : website.
When I go to www.mywebsite.com the index page come up but when I click on my links they still say www.dev.website.com.
I need to change the permalinks to say http://www.mywebsite....­. I look into the general setting and there is something called WordPress URL and Website URL.
Can I change here the URL to www.mywebsite.com. This is what I am thinking about doing.

WordPress URL: http://www.mywebsite....­
Site URL: http://www.mywebsite....­

Is this correct Any help is appreciated

Johan
Joey K.
jkudish
Vancouver, BC
Post #: 8
You'll want both the WordPress URL and the Site URL to be mywebsite.com. Then you'll need to do a search + replace in your database to fix all the URLs that are now pointing to your dev url. There's a bunch of different ways to do this.

* Handy search+replace script that you can run from your browser and/or from the command line: https://github.com/in...­
* WordPress plugin that will do the search+replace for you: http://wordpress.org/...­
* BackupBuddy is a paid plugin that does a lot (backups, etc.) but also has a migration feature: http://ithemes.com/pu...­

In any situation, make sure you backup your database before you do a search and replace as to be able to roll back in case you break something indadvertedly.

Hope that helps!
Powered by mvnForum

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy