× Here you can get community support related to ReDJ.

redirect subdomains to a url query part

  • darkhoros
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 9 months ago #5909 by darkhoros
Replied by darkhoros on topic redirect subdomains to a url query part
HI,
did even better and change the browser.
now on chrome i am getting
The mivida.newcairorealestate.info page isn’t working

mivida.newcairorealestate.info redirected you too many times.
ERR_TOO_MANY_REDIRECTS

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #5910 by admin
Replied by admin on topic redirect subdomains to a url query part
It means your redirection rule is wrong and it is causing a redirection loop. Have you added the SKIP condition to the rule??? With your main domain you should replace www with mivida.

Kind regards

Please Log in or Create an account to join the conversation.

  • darkhoros
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 9 months ago #5911 by darkhoros
Replied by darkhoros on topic redirect subdomains to a url query part
I found the issue
the to url you suggest:
To URL: {scheme}://www.mydomain.com/component/joomd/real-estate-egypt/search-results?field_29=${b}
Is not sutable for me, I need to keep tthe subdomain in the url
I need the url to be something like
{scheme}://subdomain.mydomain.com/component/joomd/real-estate-egypt/search-results?field_29=${b}

I need it like this so when I use the 200 redirect the url that will show to user and get indexed by google will be
subdomain.domain.com
Do you get me?

Thank you.

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #5912 by admin
Replied by admin on topic redirect subdomains to a url query part
Not 100%, but I trust you if you say it works... :)

U're welcome

Please Log in or Create an account to join the conversation.

  • darkhoros
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 9 months ago #5913 by darkhoros
Replied by darkhoros on topic redirect subdomains to a url query part
hi,
:)
no you got me wrong, it is NOT working, i am just trying to explain my case.
I was trying to explain how I need the redirect to work.
I will try to do a more clear explaination here

source url
mivida.newcairorealestate.info NOTICE: subdomain

target url:
mivida.newcairorealestate.info/index.php/component/joomd/real-estate-egypt/search-results?field_33[0]=mivida
NOTICE: mivida at the url end, and I kept the host part at the begining.

I will be using a 200 redirect, so I will end up with my source url indexed with the content of page from the target URL.

Do you got me now?
Thank you alot.

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #5914 by admin
Replied by admin on topic redirect subdomains to a url query part
Sorry but now I am really confused. Can you tell me exactly what do you need? I mean, an example of source -> target URL.

Thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.138 seconds