function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dfiredfire 

301 forward an aspx page in Sites

We are on the verge of launching our new site in Sites, moving from a .net site hosted on a rackspace server.

 

I noticed in GA that a number of people have our home page url including the default.aspx bookmarked and are hitting that url. Once we redirect our domain to Sites, that URL will disappear and they'll just get a blank page on the new site or 404.

 

So how can I enact a 301 for a URL using .aspx on Sites?

paul-lmipaul-lmi

you could use the native url rewriter class to handle the .aspx part, i think.

Ryan-GuestRyan-Guest

The URL rewriter can't handle .aspx, instead you should use URL Redirects to accomplish this.

dfiredfire

how do I do a URL redirect?