• I’m looking for a way to change the base URL for permalinks to another domain (not the one specified in WordPress address in Settings).

    I want to replace permalink URLs like this:

    http://domain.com/2008/12/test-post

    with something like this:

    http://newdomain.com/2008/12/test-post

    Doing this with .htaccess rules doesn’t work for me, because of forwarding loop issues. I need to have WordPress use a different base HREF for all permalinks.

    Any help would be greatly appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I don’t think you can, and really, why?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Well you should be able to but why is a good question.

    I tell you three times backup, backup, backup your files and database and check out

    http://wordpress.org/extend/plugins/search-and-replace/

    I’ve never used this plugin, so if you use it and the Bad Thing(tm) happens, get ready to restore that backup.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I read this as someone wanting to post from domain.com and have the post show up on newdomain.com.

    I’m looking for a way to change the base URL for permalinks to another domain (not the one specified in WordPress address in Settings).

    I guess I’m just not sure what the end goal is, and advice may change based on that goal.

    why not just move wordpress?
    http://codex.wordpress.org/Moving_WordPress

    Thread Starter dmisener

    (@dmisener)

    Hopefully this will clarify:

    I own and control domain.com, and I have a WordPress blog installed at domain.com/blog

    However, I don’t want anyone to access my blog from domain.com. I want them to access it by going to anothersite.com/domain, which I don’t own or control, and which transparently redirects to domain.com/blog

    So I tell people to go to anothersite.com/domain, and they see the blog.

    Problem is, all my permalinks point to domain.com/blog/file, when I want them to point to anothersite.com/domain/file

    Would really appreciate any help you can offer.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Change permalink base HREF’ is closed to new replies.