The MU forums have moved to WordPress.org

Automatic subdomains For Posts (6 posts)

  1. wp0
    Member
    Posted 15 years ago #

    You know.. When we opened a new post in wordpress, URL was being like this "sitename.com/postname/"

    But i don't want it. I want like this "postname.sitename.com" in my site.

    So we will add some codes in our wordpress admin panel for this.

    We need another textbox for this. For example:

    I will write "testing" for subdomain name in admin panel.

    When i will publish the post, URL will be "testing.sitename.com"

    I will create a lot of subdomains like this.

    So how can we do this? Please help me for this. Thanks...

  2. thehermitvi
    Member
    Posted 15 years ago #

    Are you talking about WordPress MU or Wordpress because I can't see this being used in MU if you are using the subdomains for the blogs?

  3. Ovidiu
    Member
    Posted 15 years ago #

    I think he is confusing psotname with username?
    Please clarify if you want help.

  4. benny148148148
    Member
    Posted 15 years ago #

    I don't know...he said "publish the post"...so I think he's wanting the name of the post as a subdomain.

    Don't think that's possible...

  5. wp0
    Member
    Posted 15 years ago #

    Yes! I want the name of the post as a subdomain. The URL must be like this "postname.sitename.com" instead of "sitename.com/postname/" It must create subdomain on every posts.

    I think it's possible with .htaccess and php files. Maybe it's difficult but i believe it's possible.

  6. tanvir
    Member
    Posted 15 years ago #

    i think he wants: whenever he create a post a sub-domain with the post name will created.

    Don't think it's possible.

About this Topic