aldryn / aldryn-wordpress-import

Wordpress import for aldryn-blog
Other
0 stars 2 forks source link

domain mapping #3

Closed stefanfoulis closed 10 years ago

stefanfoulis commented 10 years ago

re-write all links on import, to not include the domain for the current domain (from django.contrib.sites.Site).

e.g

http://www.domain-in-sites.Site.com/this/is/a/link/to/something -> /this/is/a/link/to/something

but

http://www.some-other-domain.com/this/is/a/link/to/something -> http://www.some-other-domain.com/this/is/a/link/to/something