Getting ArcGIS Online error page when redirecting subdomain URL to my AGO Group URL

1020
3
01-29-2012 04:26 PM
DonBarker
Occasional Contributor
I'm trying to redirect a subdomain of my web site to the URL for one of my AGO groups.  The redirection ends up on an AGO error page.  The problem might be with my own service provider sending the wrong redirected URL, but I'm not sure.  Can one of you experts take a look at this and offer advice?

Here is the subdomain I want to redirect from:

maps.choptankriverheritage.org

Here is the target URL I want to redirect to:

http://www.arcgis.com/home/group.html?owner=marylandgis&title=Choptank%20River%20Heritage%20Sites

The setup at my service provider (siteground.com) is straightforward through CPanel.  But the redirection from maps.choptankriverheritage.org ends up on this error page:

http://www.arcgis.com/home/error.html?c=InvalidGroup

I checked the browser history and found that the redirection is actually going to this odd URL in which the character %20 have been replaced with %2520 :

http://www.arcgis.com/home/group.html?owner=marylandgis&title=Choptank%2520River%2520Heritage%2520Si...

The .htaccess file in the subdomain folder appears to be okay, like this:

RewriteEngine on

RewriteCond %{HTTP_HOST} ^maps\.choptankriverheritage\.org$ [OR]
RewriteCond %{HTTP_HOST} ^www\.maps\.choptankriverheritage\.org$
RewriteRule ^/?$ "http\:\/\/www\.arcgis\.com\/home\/group\.html\?owner\=marylandgis\&title\=Choptank\%20River\%20Heritage\%20Sites" [R=301,L]

Anyone know why this is happening?

// Also, how do I keep the Forum editor from shortening URLs in the body of my post?  Thanks. //

Thanks,
Tags (2)
0 Kudos
3 Replies
DonBarker
Occasional Contributor
Here is another clue.  I just created different redirections to my AGO group from

http://maps2.choptankriverheritage.org

http://map.choptankriverheritage.org

These work, no problem.

=-O
0 Kudos
MikeMinami
Esri Notable Contributor
I'd suggest doing a google search...this and several other matches turned up for me

http://www.codingforums.com/archive/index.php/t-222912.html

However, it doesn't seem like the issue got resolved, but it may provide you some guidance.

Perhaps you can consider renaming your group with underscores or no spaces...

thanks,

Mike
0 Kudos
DonBarker
Occasional Contributor
Thanks, Mike, for taking time to reply.
0 Kudos