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

Simple/Search Engine Friendly URLs

Options
  • 11-09-2011 11:37pm
    #1
    Registered Users Posts: 126 ✭✭


    I'm trying to simplify my URLs and i'm looking for peoples experience in doing this and what the best options are, keep in mind i am on a shared hosting account on a hosting365 server. Any help would be great.

    I'm using the following

    MySQL
    PHP


Comments

  • Closed Accounts Posts: 2,828 ✭✭✭Reamer Fanny


    Your going to need to check if modrewrite is active on your server I'm presuming your running Apache. Create a file on the server with this code:

    <?php

    phpinfo();

    ?>

    Visit this file from your browser to verify if the modrewrite module is loaded. Then you'll have to create some rules in the .htaccess file on the root directory of your server.


  • Registered Users Posts: 6,501 ✭✭✭daymobrew


    justryan wrote: »
    Your going to need to check if modrewrite is active on your server I'm presuming your running Apache.
    Register365 does not use Apache but rather Zeus web server. Zeus is supposed to be compatible with Apache and .htaccess and modrewrite but Zeus uses rewrite.script for url rewriting.

    @cusackd: Are you running a CMS like Joomla or WordPress?


  • Registered Users Posts: 126 ✭✭cusackd


    daymobrew wrote: »
    Register365 does not use Apache but rather Zeus web server. Zeus is supposed to be compatible with Apache and .htaccess and modrewrite but Zeus uses rewrite.script for url rewriting.

    @cusackd: Are you running a CMS like Joomla or WordPress?

    Sorry for the delayed response guys the site is scripted by myself and another developer. If you read any of my posts its crime.ie just sick of looking at does GET request id numbers.


  • Registered Users Posts: 6,501 ✭✭✭daymobrew


    cusackd wrote: »
    If you read any of my posts its crime.ie just sick of looking at does GET request id numbers.
    Maybe you could change the links to http://crime.ie/id77/fatal-crash-drogheda and use rewrite.script to change this to the original url http://crime.ie/details.php?id=77

    You would have to change your home page and the tag page to generate these new urls (take the headline and lower case it and then add dashes).

    The rewrite.script file would be the hardest part. There aren't many docs on it out there, unlike mod_rewrite.


  • Registered Users Posts: 126 ✭✭cusackd


    daymobrew wrote: »
    Maybe you could change the links to http://crime.ie/id77/fatal-crash-drogheda and use rewrite.script to change this to the original url http://crime.ie/details.php?id=77

    You would have to change your home page and the tag page to generate these new urls (take the headline and lower case it and then add dashes).

    The rewrite.script file would be the hardest part. There aren't many docs on it out there, unlike mod_rewrite.

    Nice sounds fun ill get on this rite away thanks for the help.

    Coffee Time :)


  • Advertisement
Advertisement