Can you take the .html of web page address?

by RexX
9 replies
I want to re-direct YouTube viewers back to videos on my site. When I create a web page it automatically saves as .html. Can I just edit the title and take the .html of web page address?

Can I title the page http://www.exercisesforshoulderpain.com/videos

Many thanks
Rexx
#address #html #page #web
  • Profile picture of the author NewbiesDiary
    short answer - no!

    If you want to do that...

    1. you create a directory under your main domain called videos
    2. then you create the video html page and name it index.html.
    3. upload that index.html into the directory you created called videos

    Now your link will look like this...

    http://www.exercisesforshoulderpain....eos/index.html

    NOW you can take off the /index.html and you are left with...

    http://www.exercisesforshoulderpain.com/videos

    and it will work exactly how you wanted
    {{ DiscussionBoard.errors[903330].message }}
  • Profile picture of the author dvduval
    One option would be to create this page:
    exercisesforshoulderpain.com/videos/index.html
    then exercisesforshoulderpain.com/videos/ would work.
    Signature
    It is okay to contact me! I have been developing software since 1999, creating many popular products like phpLD.
    {{ DiscussionBoard.errors[903334].message }}
  • Profile picture of the author Tyrus Antas
    Out of the box your web server configuration won't allow you to do it. You need either a CMS or do it yourself by messing around with mod_rewrite.

    Or as an alternative, you create a directory with an index.html.

    Tyrus
    {{ DiscussionBoard.errors[903384].message }}
  • Profile picture of the author Harry Behrens
    Using wordpress will also let you do exactly this, you simply configure "Permalinks" in the admin panel into whatever you want, and you can have pages with addresses like

    http ://www.blog.com/post-name

    http ://www.blog.com/category-name/post-name

    http ://www.blog.com/date/post-name

    or however you like.
    Signature

    - Harry Behrens

    {{ DiscussionBoard.errors[903484].message }}
    • Profile picture of the author RexX
      Many thanks for the fantastic advice.

      Seems to be two options

      Option one:
      create this page:exercisesforshoulderpain.com/videos/index.html
      then exercisesforshoulderpain.com/videos/ would work.

      Option two:
      Create a separate sub-directory called videos

      Anyone know which is the best option, or doesn't it matter?

      Many thanks,
      Rexx
      Signature
      The internet has changed..Discover how to succeed at the New Internet Marketing Academy
      {{ DiscussionBoard.errors[903515].message }}
  • Profile picture of the author The Pension Guy
    I don't really see two options. In your Option one the /video/ part is a subfolder, isnt' it?
    Signature

    {{ DiscussionBoard.errors[903540].message }}
    • Profile picture of the author RexX
      Originally Posted by The Pension Guy View Post

      I don't really see two options. In your Option one the /video/ part is a subfolder, isnt' it?

      I created the directory and added the index file and it seems to have worked!

      Many thanks,
      Rexx
      Signature
      The internet has changed..Discover how to succeed at the New Internet Marketing Academy
      {{ DiscussionBoard.errors[903693].message }}
  • Profile picture of the author gyar29
    Rexx,

    I think you may be mixing up your terms. I think you mean directory and sub-domain.

    A directory is essentially a file folder of your website. Pretty much just like one on your PC. The url would look like this:

    http://excersisesforshoulderpain.com/videos

    A sub-directory is a directory inside another directory. Like this:

    http://excersisesforshoulderpain.com/videos/evenbettervideos

    A sub-domain is pretty much another site within your site. It usually has it's own cgi-bin allowing you to run perl and cgi scripts within the sub-domain that are completely separate from the main domain. It has it's own file structure. And for most of us it must be created from your Cpanel, HSphere or whatever your host uses as their site configuration and management software. The link to your sub-domain would look like this:

    http://videos.excersisesforshoulderpain.com

    Which one do you need? That depends on what you're trying to accomplish.

    Most people create a sub-domain for no good reason. They just think the sub-domain url looks better than a directory url. No big deal, but usually just overkill. For your purposes a directory would probably be sufficient.

    Take care,
    Gene
    {{ DiscussionBoard.errors[903819].message }}
    • Profile picture of the author RexX
      Originally Posted by gyar29 View Post

      Rexx,

      For your purposes a directory would probably be sufficient.

      Take care,
      Gene
      Yes, I just created a directory. Thanks
      Signature
      The internet has changed..Discover how to succeed at the New Internet Marketing Academy
      {{ DiscussionBoard.errors[904113].message }}

Trending Topics