URL Rewrite

I’m not sure if this is the right place to put this thread but I don’t know where is so here it goes.

i want to change this url:

mydomain.com/about*aspx

*change this to a “.” because site point won’t allow me to post urls yet

to:

mydomain.com/about

how would I go about doing that?

I’m assuming that you’re not using Apache as you’re attempting to rewrite .aspx files. If you are for some reason, you can use this:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ $1.aspx [L,QSA]

If you’re using IIS you’ll need to install the URL rewrite module: http://learn.iis.net/page.aspx/460/using-url-rewrite-module/

This is a great guide for creating rewrite rules: http://learn.iis.net/page.aspx/461/creating-rewrite-rules-for-the-url-rewrite-module/

In true Microsoft style, it’s more of a wizard than a few lines of text so I can’t document everything here for you. If you get in there and have questions just let us know.

For future reference, this thread would probably be better placed in the Server Management forum.

thanks JeffWalden i’m solved my problem to this way

After doing a bit of searching i found this handy tool

http://www.iwebtool.com/htaccess_url_rewrite

it generates the script for you!