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

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 586
  • Last Modified:

Wordpress and permalinks

I installed my Wordpress on a server called "http://Mywebsite.com.apache11.hostbasket.com" for development perposes.
In General settings (WordPress) I now have for WordPress Address (URL): "http://Mywebsite.com.apache11.hostbasket.com".
For Site Address (URL) I have the same.
I asked my hosting provider how I should change from development to production.
They told me that is was just a matter of changing the DNS records.
So I did. Now I have in  in my A-RECORS as Hostname "Mywebsite.com" and the IP-address for my hosting.
In my CNAME-RECORDS as alias "www.Mywebsite.com" and as canonical name   "apache11.hostbasket.com".
When I look at the permalinks, they are composed out of "http://Mywebsite.com.apache11.hostbasket.com/page
I am just afraid when I change the URL in my Wordpress general settings, I will interupt the connection with my database.
Is there someone who can give me advice on that?
1 Solution
Julian MatzJoint ChairpersonCommented:
Hi Wim,

If the A and CNAME records are set up correctly and if you have added your domain as a virtual host on your web host's server, you can safely change the WordPress URLs. The problem you will have is not with the permalinks, but rather any links that you've already added to various pages or posts that point to other pages or posts within your WordPress site. This won't be a big issue, it just means you will have to manually update them. Alternatively, you can update them automatically using a tool such as phpMyAdmin, but this more complicated.

You won't lose your database connection. If your domain is resolving correctly, it's safe to change your WordPress URLs.
ownerAuthor Commented:
Hi Julian,
Thanks for the reply. I will try it and keep you posted.
With kind regards,

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

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