Jump to content
progressive01

permalinks did not update when set link

Recommended Posts

progressive01    20
progressive01

Hi,  I just set a website live which had been developed on a hosting url. Once set live none of the permalinks updated. Do you have any tips to make sure in the future this does occur. In the end we had to go through an manually change all of them. Each internal link had been assigned the full hosting url. Any tips to make sure the next go live is much smoother would be appreciated.

 

Many thanks

Share this post


Link to post
Share on other sites
Simon    247
Simon

Wordpress stores urls like images etc, when you upload and change from a staging url to a live url yes you have to change them all.

 

There are various ways to not go through this nitemare and the best one is this:

 

Use MAMP.

 

With MAMP you can use virtual hosts locally.

 

Lets say i want to design a site for awesomebanana.com, when i upload i dont want all the urls to be http://localhost/banana/ do i?

 

So with MAMP you use local dynamic virtual hosts, i setup the domain  awesomebanana.com in MAMP and install a new wordpress, when i enter  awesomebanana.com in my browser it will load the localhost version so i can develop away and as far as wordpress is concerned the host is indeed  awesomebanana.com.

Then i can upload the files to the real live host and the whole database knowing that all internal urls never need fixing.

 

Thats the right way to do it, of course there are plugins and hacks to go through the database changing http://127.0.0.1/~banana_staging/ to  http://awesomebanana.com but they are a real pain and not always 100%.

Share this post


Link to post
Share on other sites
progressive01    20
progressive01

Thank you Simon, ekk bit late for some I have in development. Is this just a pagelines issue, on other systems I have used it has switched over straight away. Perhaps we are better to build live, with a fake home page that says website coming soon? Will have a good look at MAMP though.

Share this post


Link to post
Share on other sites
James B    436
James B

Hi there,

 

No its not a Pagelines issue, all wordpress installs will be the same regardless of the theme. Another option is to find a plugin which will update your urls, I've featured two below for you.

 

http://wordpress.org/extend/plugins/velvet-blues-update-urls/

 

http://wordpress.org/extend/plugins/wp-migrate-db/

 

You can built sites live, there are plugins that will put up a holding page, unfortunately it blocks you and support from viewing the site though whilst developing and some have been known to conflict with the framework.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
progressive01    20
progressive01

Thanks James, I will check these out, sounds like the updating plugins are the best option. Really needed whenbuilding a lrage site with lots of cross links! Even all the images needed re linking - headache!

Share this post


Link to post
Share on other sites
James B    436
James B

Hope it helps, if you need any further info please let us know, if not please mark the thread resolved :)


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×