Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Sponsored Reviews   Improve your ranking, submit to directories   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 06-24-2004, 12:40 AM   #1 (permalink)
Contributing Member
 
Shannon's Avatar
 
Join Date: 05-29-04
Location: Victoria, BC, Canada
Posts: 90
iTrader: 0 / 0%
Latest Blog:
None

Shannon is liked by many
Send a message via MSN to Shannon
SEO and ASP redirect - MS hosting with 1and1.com

I'm hosting with 1and1 MS package, where I can have multiple domains. All my domains point to the root folder by default and apparently I can't change that default... but They have said I should use a script like the following to redirect:

[code:1:8b53d973a1]
<!--<script runat="server" Language="c#">
public void Page_Init(Object Src, EventArgs E)
{
switch((Request.ServerVariables["HTTP_HOST"]).Repl ace("www.",""))
{
case "websitename.com":
Response.Redirect("http://my-main-1and1-domain.com/directory/default.asp");
break;
case "anothersite.com":
Response.Redirect("http://my-main-1and1-domain.com/directory2/default.asp");
break;
default:
Response.Redirect("http://my-main-1and1-domain.com");
break;
}
}
</script>--> [/code:1:8b53d973a1]

How will this affect what google see's? Is this going to hurt my SEO abilities in any way? If so, please help me with recommendations. BTW I am just learning ASP so if you post code please briefly explain and include dependant code.

TIA
Shannon is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 06-24-2004, 12:41 AM   #2 (permalink)
Contributing Member
 
Shannon's Avatar
 
Join Date: 05-29-04
Location: Victoria, BC, Canada
Posts: 90
iTrader: 0 / 0%
Latest Blog:
None

Shannon is liked by many
Send a message via MSN to Shannon
oh yeah, besides the fact that when I tried their script on their servers I got a page saying that C# is not an installed language! haha.... wtf?
Shannon is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-26-2004, 03:48 PM   #3 (permalink)
Contributing Member
 
Shannon's Avatar
 
Join Date: 05-29-04
Location: Victoria, BC, Canada
Posts: 90
iTrader: 0 / 0%
Latest Blog:
None

Shannon is liked by many
Send a message via MSN to Shannon
Anyone? Will the set up I described above negatively affect my SEM efforts?

Thanks
Shannon is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-26-2004, 07:28 PM   #4 (permalink)
v7n Mentor
 
awall19's Avatar
 
Join Date: 02-18-04
Location: We Are Penn State!
Posts: 3,554
iTrader: 0 / 0%
Latest Blog:
None

awall19 is a splendid one to beholdawall19 is a splendid one to beholdawall19 is a splendid one to beholdawall19 is a splendid one to beholdawall19 is a splendid one to beholdawall19 is a splendid one to beholdawall19 is a splendid one to beholdawall19 is a splendid one to beholdawall19 is a splendid one to beholdawall19 is a splendid one to beholdawall19 is a splendid one to behold
I have not done much with asp and am not a programmer

if your inner pages are getting indexed then you should be fine.

I am going to move this to the coding forum and they should be able to help you there.
awall19 is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-27-2004, 12:12 AM   #5 (permalink)
Inactive
 
I, Brian's Avatar
 
Join Date: 10-26-03
Posts: 2,466
iTrader: 0 / 0%
Latest Blog:
None

I, Brian is liked by somebodyI, Brian is liked by somebodyI, Brian is liked by somebodyI, Brian is liked by somebodyI, Brian is liked by somebody
If you are at 1&1, you should give yourself a slap with a large wet fish.
I, Brian is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-27-2004, 12:19 AM   #6 (permalink)
v7n Mentor
 
imaginemn's Avatar
 
Join Date: 02-18-04
Location: Minneapolis, Minnesota
Posts: 1,940
iTrader: 0 / 0%
imaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to all
Send a message via MSN to imaginemn Send a message via Yahoo to imaginemn Send a message via Skype™ to imaginemn
I used to do something similar several months ago for one of my clients. The only thing I noticed was that googlebot was not indexing the site due to permission denied. The day after I finally convinced them to stop doing this and seperated all their sites googlebot started indexing the pages without any issues.

Now this could have been a coincidence but I don't think so. My best bet is that googlebot was getting confused and would error out.

imaginemn
__________________
Need a project done? - Set Your Own Price!
Imagine Creative Services
- Design : Marketing : Multimedia : More
imaginemn is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
1and1 security issues tien434 Web Hosting Forum 4 01-20-2006 07:37 AM
25 free .name from 1and1.com dgridley Domain Name Forum 0 12-13-2004 03:21 PM
anyone use 1and1.com as a host? Huskers82 Web Hosting Forum 0 06-16-2004 08:50 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 10:57 AM.
© Copyright 2008 V7 Inc