Redirect subdomain dynamic URL to main domain ,htacesss [closed] - .htaccess

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 days ago.
Improve this question
Need to redirect subdomain to main domain with dynamic urls
for eg
ar.abc.com/about to abc.com/about
after / it should be dynamic
Can anyone help in sharing .htaccess rule to achieve the same
Thanks

Related

Creating a home server and publishing the site on it [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 21 hours ago.
Improve this question
How can I create a home server and publish a site on it?
How can I create a home server and publish a site on it?

How can I host this node.js project on GitHub? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 days ago.
Improve this question
I am making a fork of https://github.com/amethystnetwork-dev/Incognito, and I want to host it on github. can anyone help me with this? Whenever I open the page it just goes to the readme file...

Is it possible to block an entire operating system from accessing a website? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 months ago.
Improve this question
I have a client who wants to block Linux users from accessing the website since they account for 1/5 of traffic and are clearly bots.
Has anyone successfully done this? Not too sure where to begin.

301 Redirect from all index.asp? Queries to Homepage [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I need to use .htaccess to redirect all pages that contain the index.asp? query to the homepage.
for example:
index.asp?currentPage=1411&cat2=seating
Thanks
Try this in .htaccess file:
Redirect 301 /index.asp http://example.com

Creating URL subdomains [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
How are sites like bandcamp, blogger, etc creating these custom url with subdomains
example:
http://themidwestbreaking.bandcamp.com/
normally you have to add to your A-RECORDS in your DNS, but I am pretty sure they are not doing that.
Wild card dns. There is a subdomain set up as *. You have to set up your webserver to accept *.yourdomain.com, then you can extract the subdomain from the URL and process however you want.

Resources