Tagged Questions

1
vote
4answers
331 views

How to redirect all pages to the homepage

I need to temporary redirect all pages of a domain to the homepage of the same domain. I added the following code to my .htaccess file but it doesn't work. RedirectMatch ^/(.+)$ …
0
votes
1answer
18 views

How to block the access to pages if the user comes from an external domain?

I want block the access to some pages of my website only if the user comes from a different domain from www.mysite.com. My web site is hosted on a Linux based shared hosting. Can …
0
votes
2answers
62 views

Strange .htaccess script

This was uploaded to one of my FTP folders. I'm not familiar with Apache, but still curious - can someone tell me what type of dastardly act this file is trying to commit? Thanks! …
0
votes
1answer
127 views

Redirect website subdirectory to subdomain

How can I redirect all requests going to a subdirectory to another subdomain? For example, I'd like to redirect all requests for http://example.com/folder to http://folder.example. …