|
We recently moved our ASP website to a new host, and are using Plesk for the control panel. We've got a few domains hosted elsewhere that are supposed to point to sub directories within the main site: www.shortURL.com -resolves to- www.reallylongdomain.com/with/sub/directory/index.asp This works fine - the domains are pointed to the new host and are forwarded to the proper sub directories. What isn't working is: www.shortURL.com/about.asp -resolves to- www.reallylongdomain.com/with/sub/directory/index.asp -instead of- www.reallylongdomain.com/with/sub/directory/about.asp Essentially, I want a redirect that retains the unique URL info someone might enter. I don't want them getting redirected to the main directory and have to search for the page. I see you can do this in IIS, but I don't have access (shared hosting.) I also tried this in the web.config with the following code, but the whole site errors out: code:
berzerkmonkey fucked around with this message at 21:02 on Apr 28, 2016 |
# ? Apr 28, 2016 19:25 |
|
|
# ? Mar 28, 2024 19:35 |
|
Figured it out - I was missing a tag:code:
|
# ? Apr 29, 2016 13:47 |