Viewing 1 replies (of 1 total)
  • it’s not a good idea from a SEO point of view to use relative urls, you can do it and it will work, but it’s better to replace the old domain with the new domain.

    It is also not a good idea to have 2 sites with the same content, one of the 2 will not rank on Google, you should just drop the old one amd 301 redirect the articles to the new site.

    Of course having dates will cause a problem, the urls will 404 since there’s no dates on the site. If you don’t have many articles you can edit them manually, but if you have thousands of articles i would do something like..
    search for /2009/ and replace with /
    repeat process for all years.
    search for /01/ and replace with nothing
    repeat process for all 12 months
    search foe /13/ and replace with nothing
    repeat the process up to 31.

    After that you should end up with links to your new domain with no dates. It will take some time but better than editing 3000 posts manually.

Viewing 1 replies (of 1 total)
  • The topic ‘Replacing absolute urls with relative’ is closed to new replies.