Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Dropping .html from printed links

Comments

  • Registered Users, Registered Users 2 Posts: 3,594 ✭✭✭forbairt


    if you're on linux and can change your .htaccess files then yes there is ? :D

    you're looking at wanting mod rewrite rules


  • Registered Users, Registered Users 2 Posts: 490 ✭✭Pablod


    a simpler option that should work depending on your host (and if you are ok with changing the name of your mylink.html)
    Is to set up a sub-folder (sub-directory)

    Create a new folder in your site and call it mylink, then place your mylink.html file in this folder and rename it to index.html

    So when you type www.mysite.com/mylink it will default to the index of that directory

    Hope this helps


  • Registered Users, Registered Users 2 Posts: 3,594 ✭✭✭forbairt


    Pablod wrote: »
    a simpler option that should work depending on your host (and if you are ok with changing the name of your mylink.html)
    Is to set up a sub-folder (sub-directory)

    Create a new folder in your site and call it mylink, then place your mylink.html file in this folder and rename it to index.html

    So when you type www.mysite.com/mylink it will default to the index of that directory

    Hope this helps

    problem with this method is that if you're referencing /mylink/ and /mylink and /mylink/index.html ... you're potentially going to dilute your link love ... so you'll have to sort that as well


  • Registered Users, Registered Users 2 Posts: 4,468 ✭✭✭matt-dublin


    as long as you point all your hrefs referencing that page to /mylink/ you should be ok though right?

    i would also suggest /my-link/ as well, break it up into keywords.

    I could be wrong though


Advertisement