开发者

Multiple Domains in WordPress

开发者 https://www.devze.com 2023-03-23 07:33 出处:网络
I want to create a multi开发者_开发知识库language Website based on WordPress. I have 2 domains: domain.com and domain.de.

I want to create a multi开发者_开发知识库language Website based on WordPress.

I have 2 domains: domain.com and domain.de.

How is it possible to redirect the domain.de to de.domain.com and domain.com to en.domain.com.

I don't have a V-Server, it's just a Webserver.

At the moment I'm using this plugin for my multilingual WordPress: http://dev.xiligroup.com/?cat=393&lang=en_us


  1. Use mod_rewrite http://www.phatz.com/301redirect.php
  2. You could put in your domain.de - site file index.php with following code

    header('Location: http://de.domain.com')

and in domain.com put file with

header('Location: http://en.domain.com')
0

精彩评论

暂无评论...
验证码 换一张
取 消