0
votes
1answer
27 views

301 redirect on same hosting server

I originally bought the domain http://example.com with a hosting package and have run a Wordpress blog on that for a while. Now I've bought an added on domain http://example.com.au and have ...
0
votes
1answer
51 views

301 permanent redirection changing URL structure [duplicate]

I changed category urls on site. Old are like this: www.example-name.com/category-name-exactly-same-keywords/ ...
0
votes
1answer
17 views

Redirect issue: folders and files not redirected properly

I have recently set a new URL http://www.mytechnotes.biz for a blog I was maintaining on a subdomain http://technotes.tostaky.biz. The redirection works in the following cases: ...
0
votes
2answers
88 views

Htacces mobile redirect loop

im need to change the template of my site if mobile is detected but im getting a redirect loop. this is my htacces code. Anny help will be much appreciated. Thank you! RewriteCond %{HTTP_USER_AGENT} ...
0
votes
2answers
224 views

Redirect without changing url htaccess [duplicate]

I want to create a file .htaccess for a invisible redirection. The goal is when i input www.site1.com i have to redirect to www.site2.com without changing url in address bar. Thanks in advance.
0
votes
1answer
118 views

Redirect all dynamic links served using https to http

So, here is the situation: We are running a website which is powered by Drupal. Sometime ago, it was decided that the website should be served as SSL. The settings to redirect the site from http to ...
0
votes
1answer
87 views

Reverse a .htaccess redirection rule

Let me explain by example. Say, I have this redirection rule in my .htaccess file: RedirectMatch 301 ^/([^/]+)/([^/]+)/$ http://www.example.com/$2 What it basically does is, redirect ...
-4
votes
3answers
312 views

.htaccess and PHP redirect hack on GoDaddy Website [duplicate]

Possible Duplicate: My server's been hacked EMERGENCY A friend is experiencing a random redirect to an RU domain for two of her websites, along with a malicious cookie attack, as per a ...
1
vote
1answer
947 views

.htaccess - redirect non www to www and retain subdomains from redirecting

So, on my main domain 'domain.com' I created several subdomains from cPanel, like 'sub1.domain.com' and 'sub2.domain.com'. Their real location on server is in 'domain.com/sub1' and 'domain.com/sub2'. ...
0
votes
1answer
52 views

Need help regarding htaccess stuff

I have my site at www.example.com and have several sub-domains city wise. Suppose i have subdomain with name say "subdomain.example.com" then i want to redirect the subdomain homepage to directory in ...
1
vote
1answer
177 views

Why doesn't this redirect work?

I have some URIs which have been published or shared which I now need to redirect. The old urls take the form: http://www.mysite.com/!#story/45 and I want to redirect them to ...
0
votes
2answers
222 views

6001 Redirected outside allowed domains

I have noticed that visits on my clients site have lowered much in last 2 weeks, so i checked all scripts Java, php, .htaccess all posibilities, pinged from worldwide, using 100 tools for pings ...
9
votes
3answers
2k views

How do I obscure my Wordpress install via htaccess?

(I am aware that security via obscurity is not recommended). I am trying to hide the fact that I am using Wordpress. This post is helpful, but it only addresses the content (sort of). I am interested ...
0
votes
1answer
103 views

mod_rewrite seems to be ignoring condition statements

I'm dying on this htaccess: RewriteCond %{HTTP_HOST} ^[www\.]?old\.com [NC] RewriteCond %{REQUEST_URI} ^.+$ RewriteCond %{REQUEST_URI} !^wp-admin RewriteCond %{REQUEST_URI} !^index ...
1
vote
1answer
73 views

Url Redirections using .htaccess

I would like to add 1500 url redirections using .htaccess on a apache server. Is it a bad idea ? will it decrease the performances significantly? Thanks
0
votes
3answers
596 views

point multiple domain to single web hosting account

point multiple domain to single web hosting account using htaccess i have used the following .htaccess file in my public_html directory RewriteEngine on RewriteCond %{HTTP_HOST} ^site1.org$ [OR] ...
0
votes
1answer
91 views

.htaccess redirect doens't work correctly

I'm using a .htaccess to get all documents from an old site to the new one. The old site doesn't support PHP or mod_rewrite. I tried the following code: Redirect 301 / http://www.new.com/archive/ I ...
2
votes
1answer
174 views

Redirect subdomain.xyz.com to subdomain.abc.com

Hey all, I'm trying to move to another domain, but have many subdomains under the existing domain. All the subdomains will be the same but just mapped with the new domain. [subdomain].xyz.com => ...
1
vote
1answer
2k views

Is it possible to write an htpasswd file that redirects certain users to certain directories?

Assuming that I have a domain, say, mydomain.com and three directories under it call them dir1, dir2 and dir3, then is it possible to put an htpasswd file at the web root and have it redirect ...