Jump to content
Hall

Changing the URL

Recommended Posts

Hi

Not sure that this is the right forum, but try anyway. I have just tried changing my URL from b2ctest.aposave.com to aposave.com/travelclinic.

Now I can not acces my admin site, as it comes with this message: 

404 - File or directory not found.

The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

I just made a copy of the site so is there anyway that I can get access to that and recreate the page using my back-up?

Share this post


Link to post
Share on other sites

The trouble is wordpress uses an absolute url, this url is used within content, configuration, that is stored in the database. You have to use a  program, or if advanced enough write a php script to look through all tables to replace the old URL with the new URL.

update to this issue.

https://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database

NOTE: make backup, also it might take time for all the url's to change to new address

Edited by dsonesuk

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...