Title: Change permalink base HREF
Last modified: August 19, 2016

---

# Change permalink base HREF

 *  [dmisener](https://wordpress.org/support/users/dmisener/)
 * (@dmisener)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/change-permalink/)
 * 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](http://domain.com/2008/12/test-post)
 * with something like this:
 * [http://newdomain.com/2008/12/test-post](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)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [17 years, 5 months ago](https://wordpress.org/support/topic/change-permalink/#post-937591)
 * I don’t think you can, and really, why?
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [17 years, 5 months ago](https://wordpress.org/support/topic/change-permalink/#post-937595)
 * 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/](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)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [17 years, 5 months ago](https://wordpress.org/support/topic/change-permalink/#post-937975)
 * 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.
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/change-permalink/#post-937978)
 * why not just move wordpress?
    [http://codex.wordpress.org/Moving_WordPress](http://codex.wordpress.org/Moving_WordPress)
 *  Thread Starter [dmisener](https://wordpress.org/support/users/dmisener/)
 * (@dmisener)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/change-permalink/#post-938086)
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [dmisener](https://wordpress.org/support/users/dmisener/)
 * Last activity: [17 years, 5 months ago](https://wordpress.org/support/topic/change-permalink/#post-938086)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
