Adding Permalinks to HTML

Discussion in 'HTML & Website Design' started by spids, Oct 10, 2011.

  1. #1
    Hey,

    All my buttons are directed to index-1.html, index-2.html etc. etc and I was just wondering if its possible to easily make it mysite.com/keyword in browser.
    Thanks in advance for any help.
     
    Solved! View solution.
    spids, Oct 10, 2011 IP
  2. alkantenik

    alkantenik Well-Known Member

    Messages:
    190
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    138
    #2
    do you want to use custom links for your buttons?
    I think it is:

    <a href="http://www.google.com"><img src="/images/button4.png"></a>
     
    alkantenik, Oct 10, 2011 IP
  3. workingsmart

    workingsmart Well-Known Member

    Messages:
    411
    Likes Received:
    12
    Best Answers:
    9
    Trophy Points:
    120
    #3
    Of course it's possible, but without either some redirection / htaccess / mod_rewrite or other method, you'll have to rename your pages and change their locations.
     
    workingsmart, Oct 10, 2011 IP
  4. spids

    spids Active Member

    Messages:
    222
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #4
    Thanks alkantenik for your response but my header was built in flash and I was hoping I could somehow edit nav bar buttons in the html or css without having to do it in flash. If not does anyone know how I would do it in flash? I am familar with flash.

    Is there a way I can change it so "index-1.html" is "my-keyword.html"? I dont mind it staying as index.html just in a browser I want "mysite.com/my-keyword
     
    spids, Oct 10, 2011 IP
  5. spids

    spids Active Member

    Messages:
    222
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #5
    Ok great, so what do you think would be my best option? I bought the template and all pages are named index, index-1 etc
     
    spids, Oct 10, 2011 IP
  6. workingsmart

    workingsmart Well-Known Member

    Messages:
    411
    Likes Received:
    12
    Best Answers:
    9
    Trophy Points:
    120
    #6
    If the flash menu is XML based, then you can edit the text in the XML file that contains all of the text and url's for the menu's.
     
    workingsmart, Oct 10, 2011 IP
  7. #7
    Well that is question that requires alot of information from you......... You might want to turn to Google and spend sometime doing some homework so that you can answer it for yourself. :)
     
    workingsmart, Oct 10, 2011 IP
  8. spids

    spids Active Member

    Messages:
    222
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #8
    No it didnt come with an XML file, I guess I will have to rename all the files and edit in flash. Thanks for all your replies.
     
    spids, Oct 10, 2011 IP
  9. woody allen

    woody allen Peon

    Messages:
    263
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    If you are using pure html without cms in your web, you can just change the permenantly to another target.
     
    woody allen, Oct 12, 2011 IP