T O P I C R E V I E W |
weeweeslap |
Posted - 15 July 2008 : 12:34:50 I run a dedicated server and for one of my domains I wish to redirect anyone that goes to http://DomainName.com to http://www.DomainName.com How can I accomplish this? I appreciate your help. Thank you. -Oscar< |
15 L A T E S T R E P L I E S (Newest First) |
HuwR |
Posted - 14 August 2008 : 17:22:18 quote: I'm done here.
fine, and maybe next time you can discuss the subject of the topic in question too.< |
bobby131313 |
Posted - 14 August 2008 : 14:08:45 quote: If I place a link to yourforum/default.asp here and on every other forum I have access to, that will affect your fix
I guarantee it won't, the problem was the internal linking structure and it's quite obvious. This problem has persisted for years, I change the internal links and a couple months later it's perfect.
Besides, you're talking about deliberate behavior that is 99% against what naturally happens on the internet. Fact is, people almost never link the way you are proposing to.
You do it your way, I'll do it mine. I'm done here.< |
HuwR |
Posted - 14 August 2008 : 13:45:19 quote: I just told you that it did.... perfectly.
If I place a link to yourforum/default.asp here and on every other forum I have access to, that will affect your fix, which is why it is better to have proper redirection since you have no control over external links only internal links. < |
bobby131313 |
Posted - 14 August 2008 : 13:20:51 quote: just changing the links in the forum won't fix it,
I just told you that it did.... perfectly.
quote: and don't forget you have quite a few links to default.asp?CAT_ID=XX which will also bugger up your 'fix'
That doesn't bugger up anything, they're different pages, why would I want to consolidate those?< |
HuwR |
Posted - 14 August 2008 : 13:05:55 your best bet would be to leave the forum links as they were and change the default file for the forum directory under IIS to index.asp, then write an index.asp file which does a 301 redirect to default.asp then all links to the forum whether they were to / or default.asp would end up at the same url default.asp< |
HuwR |
Posted - 14 August 2008 : 13:02:04 it won't necesarily fix your issue any, since Icould link to the default.asp page of your forum from here and that would have the same negative effect. you need to have proper redirection scripts to fix it correctly. just changing the links in the forum won't fix it, and don't forget you have quite a few links to default.asp?CAT_ID=XX which will also bugger up your 'fix'< |
bobby131313 |
Posted - 14 August 2008 : 12:53:05 quote: Just remember that not everyone has the forums default.asp file as the home page of their website
I never said that. But I would bet there are a very extreme few that it's not the home page of the forum directory.< |
HuwR |
Posted - 14 August 2008 : 12:48:04 Just remember that not everyone has the forums default.asp file as the home page of their website so pointing ALL the forum links at its default.asp is not bad coding at all, it ensures that ALL the forum links point at the forum, and the forum is totally consistant in this respect.
if you need to change it because your forum default.asp is the same as your homepage then that is entirely your choice to make those changes.< |
bobby131313 |
Posted - 14 August 2008 : 12:40:28 I'm not going to argue with you.
If you want to go read some, you'll find that internal linking directly to the default file name is generally considered poor coding by most webmasters. Especially since 99% of the time when people link to you externally they do not use it (and you can't control it), they link to the directory only. This inconsistency results in EXACTLY what I've fixed by changing the code. Double indexing and serious SEO dilution.
The amount of links is irrelevant. Where the links point is definitely relevant.
I've fixed mine and it worked beautifully, that's all I care about.< |
HuwR |
Posted - 14 August 2008 : 12:33:46 technically www.domain.com and www.domain.com/default.asp are not the same, so the forum is correct to link directly to its start file of default.asp since you may want www.domain.com to not point at default.asp but point at index.htm or even index.asp< |
HuwR |
Posted - 14 August 2008 : 12:30:16 not sure how you have 207 instances of <a href=""default.asp""> since there are only 78 in the base code and not once is there a link to just StrForumUrl all the forum links allways point to the forums default.asp so it is consistent.
< |
bobby131313 |
Posted - 14 August 2008 : 12:00:48 It's really not just for Google though. It's really basic stuff, IMO (and many other experts) you should always link to the folder root to be consistent and facilitate future changes.< |
bobby131313 |
Posted - 14 August 2008 : 11:57:01 Redirects and internal links in the Snitz software is what I'm talking about.
There are 207 instances of....
<a href=""default.asp"">
Which in my opinion (and I changed) should be....
<a href=""" & StrForumUrl & """>
There are also 39 instances of...
Response.Redirect("default.asp")
and 7 instances of....
strReferer = "default.asp"
There were more that I changed, but a few months later my problems are solved.< |
HuwR |
Posted - 14 August 2008 : 11:27:34 quote: the software really should point the redirects to the directory root, not default.asp.
what software ? if you mean Snitz then it shouldn't be redirecting you anywhere< |
bobby131313 |
Posted - 14 August 2008 : 11:17:54 quote: Go to....
http://www.coincommunity.com/forum/ >> PR3 http://www.coincommunity.com/forum/default.asp >> PR2
Same freakin' page indexed under 2 different names, splitting PR and more importantly backlinks..... and hurting me. I went through my forum code and changes hundreds of redirects from "default.asp", still can't get them consolidated.
Took a few months but the work finally kicked in. Now it's....
http://www.coincommunity.com/forum/ >> PR4 http://www.coincommunity.com/forum/default.asp >> Greybar
Which is exactly what I'd hoped it would do. Unless there's something I'm missing, the software really should point the redirects to the directory root, not default.asp. < |