Jump to:

5450 Posts in 1672 Topics by 1197 members

Customising the CMS

SilverStripe Forums » Customising the CMS » URL

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 897 Views
  • snipou2k
    Avatar
    Community Member
    10 Posts

    URL Link to this post

    hi!
    I wonder if it is possible to change the url in order to get a url like:

    http://www.domain.tld/?page=contact

    to replace:

    http://www.domain.tld/contact/

    Thank you

  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: URL Link to this post

    what is the server you are using?

  • snipou2k
    Avatar
    Community Member
    10 Posts

    Re: URL Link to this post

    I use OVH (hosting the largest in France) on a linux server

  • snipou2k
    Avatar
    Community Member
    10 Posts

    Re: URL Link to this post

    up

  • Ben Gribaudo
    Avatar
    Community Member
    181 Posts

    Re: URL Link to this post

    Have you tried using a URL like: http://localhost:90/sapphire/main.php?url=/

    Doesn't solve all the uses with getting this working but hopefully is one step in the right direction.

    Ben

  • snipou2k
    Avatar
    Community Member
    10 Posts

    Re: URL Link to this post

    yes it works fine but I would like to have all my links like this without any of my visitors do anything

  • Ben Gribaudo
    Avatar
    Community Member
    181 Posts

    Re: URL Link to this post

    Is the solution mentioned in ticket on Allow friendly URLs without mod_rewrite (helps support IIS 5.1, 6.0, too) any closer to what you want?

    May I ask why you want that style of URL? A lot of times, CMS users want to move away from having query strings in their URLs.

    Have a great day,
    Ben

    897 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.