1 Replies - 1917 Views - Last Post: 05 April 2010 - 09:09 PM

#1 richiebee   User is offline

  • D.I.C Regular

Reputation: 4
  • View blog
  • Posts: 259
  • Joined: 27-November 08

rewrite subdomain .htaccess

Posted 25 March 2010 - 04:57 AM

Hi,

my url "www.mysite.com" is forwarding to a subdomain "subdomain.mysite.com/folder/"

however if someone types in the subdomain address they see the subdomain address in the address bar,
so I've tried to use the rewrite in .htaccess to change what they and google see....


RewriteCond %{HTTP_HOST} ^subdomain.mysite.com/folder/ [NC]
RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301]

not working

:dontgetit:

Is This A Good Question/Topic? 1
  • +

Replies To: rewrite subdomain .htaccess

#2 Reverse Internet   User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 1
  • Joined: 05-April 10

Re: rewrite subdomain .htaccess

Posted 05 April 2010 - 09:09 PM

We’ve recently launched new competitive research tool that allows you to do reverse IP lookups on websites just like myipneighbours.com and similar tools. But it also does much – more you can look up related websites based on Google Analytics and Adsense IDs and nameservers. The tool is FREE to use.
Was This Post Helpful? -1
  • +
  • -

Page 1 of 1