Rank: Member
Joined: 2/24/2016(UTC) Posts: 95 Thanks: 13 times
|
We launched a new services program and are creating our marketing material that features a URL for customers to view the full details. However, it seems that the page isn't accessible without the .aspx extension. How do we eliminate the need for the extension and still direct people to the correct page? The page in particular is a custom page, but if we can apply the principle to all of our pages, that would be perfect.
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Gage,
The .aspx extension is required. For the purposes of your marketing materials you could always use the redirector to craft a shortened URL, including one without an extension, and then redirect that vanity URL to the actual URL of the page. |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 2/24/2016(UTC) Posts: 95 Thanks: 13 times
|
With the redirector, I have the "requested URL" as the URL without the .aspx, and the "redirect to URL" as the URL with the .aspx. After implementation of this, the URL without the .aspx still doesn't work. I have the status code as 302 and the page type as custom. Do I need to fill in something for the system data (bvin) and check the box for "Evaluate as Regex"?
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Originally Posted by: GHanlon With the redirector, I have the "requested URL" as the URL without the .aspx, and the "redirect to URL" as the URL with the .aspx. After implementation of this, the URL without the .aspx still doesn't work. Is the redirector enabled (Options >> Site Settings >> Redirector)? If it is, and as long as a file or folder of the same name does not exist, the redirector should catch it. If it doesn't, contact your developer or hosting company to ensure that your site and server are configured properly. Originally Posted by: GHanlon Do I need to fill in something for the system data (bvin) and check the box for "Evaluate as Regex"? No Edited by user Monday, March 5, 2018 3:27:42 PM(UTC)
| Reason: Not specified |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 2/24/2016(UTC) Posts: 95 Thanks: 13 times
|
Redirector was NOT enabled. Everything is working now. Thanks!
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.