How to add subdomain to wordpress site ?

Discussion in 'Blogging' started by outanmax, Nov 26, 2012.

  1. #1
    Read this before posting!

    So, I have create a wordpress site to showcase blogger & wordpress themes. Now I need to setup a Live Demo & Download links. Clicking on "Live Demo" user will go to iframe with topbar (example here: http://jsfiddle.net/EB6gN/34/).

    But how can I add a subdirectory/url for a demo?

    This is that I want:

    Post URL: mysite.com/post-name.html
    DEMO URL: mysite.com/post-name.html/demo/ - this is that I want.

    Live Example:

    Post URL: http://btemplates.com/2012/blogger-template-modern-cars/
    DEMO URL: http://btemplates.com/2012/blogger-template-modern-cars/demo/
     
    outanmax, Nov 26, 2012 IP
  2. Zoti Media Group

    Zoti Media Group Notable Member

    Messages:
    1,599
    Likes Received:
    113
    Best Answers:
    2
    Trophy Points:
    265
    Digital Goods:
    2
    #2
    mysite.com/post-name.html/demo/ can't be done. Am not a pro but i never seen think like that. You can create a folder (at public html) and add both pages like: mysite.com/post-name/demo/

    At post-name folder add this html page: post-name.html and make a folder "demo". At the demo folder add a index.html or php. Hope helps.
     
    Zoti Media Group, Nov 26, 2012 IP
  3. outanmax

    outanmax Banned

    Messages:
    99
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #3
    thank you. Any more suggestions?
     
    outanmax, Nov 26, 2012 IP
  4. ninjamtlt1

    ninjamtlt1 Active Member

    Messages:
    1,704
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    88
    #4
    I agree I don't think you can do that. That's not considered a subdomain anyways.
     
    ninjamtlt1, Nov 28, 2012 IP