Welcome to TalkGraphics.com
Results 1 to 4 of 4

Thread: Pretty links

  1. #1
    Join Date
    Jan 2013
    Posts
    2

    Default Pretty links

    is there any way to make pretty links?

    My links include .htm at the mo and i have this code to change them:

    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME}\.htm -f
    RewriteRule ^(.*)$ $1.htm

    but i have done everything needed and it doesnt work. i like how simple it is to upload from xara and can't be bothered to have to go down the filezilla route to just get rid of .htm

    but is there any trick i don't know about?

    im using MX premium.

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,486

    Default Re: Pretty links

    Welcome to TalkGraphics

    I'm not sure what you are trying to accomplish here.

    Can you elaborate a bit? There might be an easier way.

  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,744

    Default Re: Pretty links

    equi, your code requires two things: your site is hosted on an Apache server and you can write and change your .htaccess file.

    Look at http://eisabainyo.net/weblog/2007/08...-via-htaccess/ to see if the article there helps anyhow.
    Google for ".htaccess remove htm".

    Acorn

  4. #4

    Default Re: Pretty links

    The code you posted is for adding to your .htaccess file, it has nothing to do with Web Designer.
    There's no other way to create Clean Urls.

    You may have to ask your hosting support as not all rewrite rules work the same on every host.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •