troubleshooting Question

redirect anything else as images files for subdomain?

Avatar of Oliver2000
Oliver2000Flag for Brazil asked on
Web DevelopmentApache Web ServerSearch Engine Optimization (SEO)
8 Comments1 Solution396 ViewsLast Modified:
Hi experts,

I would like to create a redirect rule for my htaccess which redirects a subdomain from for example to if the files which is called is anything else as an image (jpg/png/gif)

The same for a subdomain scripts (css,js)

The backgorund is that I use a cdn server with several subdomains but google start indexing my subdomains now via the cdn servers. I want to prevent google from scanning at all the subdomains since they contain only images and scripts.

thanks for your help
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 8 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros