vBulletin Search Engine Optimization
This is a discussion on subdomain redirect with .htaccess within the General Discussion forums, part of the vBulletin SEO Discussion category; I have my main account on a server set up for enterprisejm.net. In other words, the location of that domain ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| ||||
| ||||
| subdomain redirect with .htaccess
I have my main account on a server set up for enterprisejm.net. In other words, the location of that domain is public_html/ All other domains are in subfolders located in that same directory, including my flooring forum thefloorpro.com: public_html/tfpcom. I discovered tonight (after being on this server since last August) that the so-called automatic redirect in my cPanel isn't working. So, you could actually get to my flooring site via tfpcom.enterprisejm.net. I manually added the following .htaccess redirect in my tfpcom folder: Code: RewriteCond %{HTTP_HOST} ^tfpcom.enterprisejm.net$ [OR]
RewriteCond %{HTTP_HOST} ^www.tfpcom.enterprisejm.net$
RewriteRule ^(.*)$ http://www.thefloorpro.com [R=301,L]
Thanks for any help with this. Jim
__________________ an eJM site: The Floor Pro Community |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hotlink Protection Tutorial (Apache Server - .htaccess files) | NeutralizeR | Member Articles | 13 | 11-20-2008 04:53 AM |
| .htaccess redirect | reefland | General Discussion | 2 | 01-05-2007 07:12 PM |
| 301 fügt ?vbseourl= mit an | Junior | Deutsch | 8 | 11-20-2006 02:07 PM |
| Redirect via .htaccess | reefland | General Discussion | 2 | 11-01-2006 04:48 AM |