0

If you move your Drupal 8 website from one sub-folder (example.com/oldsite) of your domain to another sub-folder (example.com/newsite), you will find that internal links to pages and references to images are not updated. Instead, these links and references will point to your old domain name. How to fix this issue?

enter image description here

For example, this is one of the pages after the move the site from one subfolder to another. If I click on any of this links it's taking me back to the old website.

Thanks

2
  • 1
    This just seems like content to me - you’d have to update all that content yourself or you could script it if you know how to code.
    – Kevin
    Commented Dec 26, 2017 at 18:10
  • Hi, @Kevin you think this module could help in this case? drupal.org/project/pathologic Commented Dec 30, 2017 at 11:39

1 Answer 1

1

I had to update the content links manually. I learned that for to create any link for the internal content i need to use relative links instead of an absolute link.

Thank You

2
  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review Commented Feb 5, 2018 at 16:20
  • @Adrien I have followed what Kevin suggested in the above comment. I updated all links manually. Commented Feb 6, 2018 at 20:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.