Buying Site URL Structure with .htaccess

Discussion in 'Programming' started by artislife, Feb 7, 2011.

  1. #1
    Hi,

    I use html pages on my site but I don't want to show the file extension, I've been able to find a mod_rewrite htaccess code to get http://www.mydomain.com/services which is exactly what I want.

    The part I can't solve is that I don't wan't http://www.mydomain.com/services/ and http://www.mydomain.com/services.html to works or return an error. I want these url variations to return a 404 like any other non existing url.

    I want this to work automatically for any new pages I will create.

    Please PM with your price only if you already know how to get this done.

    Thanks you!
     
    artislife, Feb 7, 2011 IP