Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
I have a problem with subdomain names
Old 08-17-2007, 02:12 PM I have a problem with subdomain names
goheadtry's Avatar
Webmaster Talker

Posts: 730
Name: John
Location: United States of America, California
Trades: 0
I have a problem with sub domainnames
http://forums.technologyforever.com does not go to the correct place I think I might have conflicting code in my .htaccess could you take a look below in the red I use this code may be there is a conflict Look in the red
#REWRITE
RewriteEngine on
# 301 IP to domain
RewriteCond %{http_host} ^209.123.147.87 [NC]
RewriteRule ^(.*)$ http://www.technologyforever.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^technologyforever\.com
RewriteRule ^(.*)$ http://www.technologyforever.com/$1 [R=permanent,L]
RewriteRule ^/forums/(.*)$ http://www.technologyforever.com/forums/$1 [R=permanent,L]
RewriteRule ^game([0-9]+).html$ game.php?page=$1 [NC,L]
RewriteRule ^g([0-9]+).html$ gameload2.php?page=$1 [NC,L]
RewriteRule ^games.php$ game1.html
RewriteRule ^g([0-9]+).php$ g$1.html
RewriteRule ^youtube.com yt.php
RewriteRule ^contact.html contact.php
#
#subdomaincodebelow
RewriteBase /
RewriteCond %{REQUEST_URI} !^/-
RewriteCond %{HTTP_HOST} ^([^\./]+)
RewriteCond %{DOCUMENT_ROOT}/-%1 -d
RewriteRule ^(.*)$ -%1/$1 [L]

#subdomaincodeabove
#
__________________
Free $1 gift card when you signup at
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

goheadtry is offline
Reply With Quote
View Public Profile Visit goheadtry's homepage!
 
 
Register now for full access!
Reply     « Reply to I have a problem with subdomain names
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.08715 seconds with 12 queries