redirect subdomains to a url query part
-
darkhoros
-
Topic Author
-
Offline
-
Senior Member
-
Less
More
-
Posts: 77
-
Thank you received: 0
-
-
7 years 9 months ago #5915
by darkhoros
Hi,
Ok, here it is.
source url
mivida.newcairorealestate.info NOTICE: subdomain"mivida"
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 beginning. I took the subdomain name "mivida" and used it after the ?field_33[0]= , but I need to keep the subdomain "mivida" in the source url as-is.
Is that clear? or do you need me to try to explain more?
Thank you for your time.
Regards.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
7 years 9 months ago #5916
by admin
From URL: ^https?://mivida\.newcairorealestate\.info/?$
To URL: {scheme}://{siteurl}/index.php/component/joomd/real-estate-egypt/search-results?field_33[0]=${b}
Requesto only: false
Placeholders are the same.
Please Log in or Create an account to join the conversation.
-
darkhoros
-
Topic Author
-
Offline
-
Senior Member
-
Less
More
-
Posts: 77
-
Thank you received: 0
-
-
7 years 9 months ago #5918
by darkhoros
Ok, your last reply is good.
BUT i need a general case from URL so I am testing with something like
^https?://[a-zA-Z0-8-]\.[a-zA-Z0-8-]\.[a-zA-Z0-8-]/?$
But can't get it to work, I tried without the $ at the end, but also not working, can you help me with this, thank you.
Please Log in or Create an account to join the conversation.
-
darkhoros
-
Topic Author
-
Offline
-
Senior Member
-
Less
More
-
Posts: 77
-
Thank you received: 0
-
-
7 years 9 months ago #5919
by darkhoros
Fuxed it.
I am now using this from URL
^https?://[a-zA-Z0-8-]+\.[a-zA-Z0-8-]+\.[a-zA-Z0-8-]+/?$
Working perfectly.
Thank you.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
Time to create page: 0.139 seconds