Hi,

I need to find a way to execute a url rewriting for some of the requests arriving at my network
The redirect is to a subdomain (cms.redemae.com.br) of my network domain, which is redemae.com.br

How would I do it with current tools that Ning provides?
1. Using URL Mappings tool I would configure the following mapping
/page/conteudos?_escaped_fragment=(.+)
would go to
http://cms.redemae.com.br?escaped_fragment=$1

2. But Ning URL Mapping tool does not allow a mapping to a sub-domain

I read in the help center about URL Rewriting (http://www.ning.com/help/?p=5829) and it seems to be possible to achieve what I need.
In one of the last paragrahs Ning says :
"Note that patterns match against relative URLs – that is, URLs with the opening host section removed. Because of this, you cannot rewrite a URL to point at a different host or domain. (This can be done, but requires additional PHP code.) Also note that rewrite rules are applied in the order in which they’re displayed."

Anyone did already perform such type of configuration in Ning?

Anyone has an idea/suggestion on how to achieve this?

Thanks,

LG

Tags: URL, mapping, subdomain

Views: 47

Reply to This

Latest Activity

Margie replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"That's really good to hear about groups.  That's our site's main…"
28 minutes ago
soaringeagle replied to Alex's discussion 'More styling in the Design Studio'
"sweet awesom e job tho im using text badges and have a feeling that wont look so sweet im gonna go…"
35 minutes ago
Margie replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"AGREE 100% on groups.  We are not interested in blogs.  Our groups are the main…"
40 minutes ago
Thiago Santos de Moraes replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"The green background is not good to read."
1 hour ago
Strumelia replied to Shannon's discussion 'VOTE - NING 2.0 or NING 3.0'
"Huh??  Can you elaborate on this please?  or point us to where this is stated or shown?"
3 hours ago
Cindy replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"I coppied all the stuff you posted and I'll check a bit later when the head feels clearer. I…"
6 hours ago
Kos replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Sorry for that.  Sometimes they fall between the cracks during the week b/c so many have full…"
6 hours ago
Kos replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Yes sometimes we need to step back and let it all sink in as 3.0 is quite different from the 2.0 we…"
6 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service