Dax Davis Gold Membership
 Nuke Master Posts:227


 |
| 5/30/2007 12:29 PM |
|
I would like to implement the solution found on :
http://seablick.com/blog/tabid/53/articletype/articleview/articleid/44/default.aspx
for redirecting www.mysite.com to mysite.com to eliminate problems with Google double indexing.
Will that interfere with FriendlyURLs from Scott? Or, better yet, can Scott's rewriter do the same thing. One important aspect is it passes a 301 to the agent so it knows it is a permanent redirect.
I'd love to hear it can...
Dax |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:11386


 |
| 5/31/2007 6:44 AM |
|
| No it wouldn't affect it, because IIS handles the redirect before it even gets to asp.net. |
|
Scott McCulloch Site Administrator |
|
|
Dax Davis Gold Membership
 Nuke Master Posts:227


 |
| 5/31/2007 6:56 AM |
|
Great Scott (ok, feel like Batman), thanks for the heads up. Any way you're friendlyURL's dll could do this? I like to ride one horse at a time. Any additional functionality they offer that you could emulate?
Dax |
|
|
|
|
caroig Gold Membership
 Nuke Master Posts:278

 |
| 5/31/2007 7:05 AM |
|
| I use trafficdirector from dnnspired for 301 redirects. The interface sucks, but it is trivial to setup and does the job. |
|
|
|
|
Dax Davis Gold Membership
 Nuke Master Posts:227


 |
| 5/31/2007 7:47 AM |
|
Posted By caroig on 5/31/2007 7:05 AM
I use trafficdirector from dnnspired for 301 redirects. The interface sucks, but it is trivial to setup and does the job.
Yes, I've used that for this purpose before, but it doesn't do the 301 redirect. It just forwards (as I understand it). And there are other issues that they refer to in the link I put above. But I think you are right, it covers most of it.
Dax |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:11386


 |
| 5/31/2007 6:59 PM |
|
| Its something that could be added to the friendly URL provider, but would probably need a screen developed to maintain the rules (or a simple config file). |
|
Scott McCulloch Site Administrator |
|
|
Bruce Onder Registered Users
 Nuke Newbie Posts:7

 |
| 6/02/2007 10:45 PM |
|
If going the config route, keep in mind that now we can use the Extract Configuration To File design pattern, which should help to keep the web.config from getting too ugly.
--Bruce |
|
|
|
|
Sebastian B Mastrangelo Registered Users
 Nuke Newbie Posts:2

 |
| 6/12/2007 5:38 PM |
|
I am in the process of making a Redirector Module myself.
It has the Functionablity to redirect using any Header code you wish.
It is in play right now on www.dnnseo.net
I made it where if any one typed dnnseo.net that is without the www it will automatically redirect to www.dnnseo.net and also converted all written URLs for the home pages e.g home.aspx, home/tabid/36/default.aspx, default.aspx?tabid=36 to go to just www.dnnseo.net
Let me know what you think
Sebastian Mastrangelo
Developer/Owener
DNN SEO
www.dnnseo.net |
|
|
|
|
Sebastian B Mastrangelo Registered Users
 Nuke Newbie Posts:2

 |
| 6/12/2007 5:41 PM |
|
| Forgot to mention it keeps the web.config file clean. there is only one line you add to refence my module. This module uses a seperate config file to tell my module what you wish to redirect. |
|
|
|
|
Tom Kraak Gold Membership
 Nuke Wiz Posts:109


 |
| 6/21/2007 11:46 AM |
|
| I'm using the solution proposed in my blog post in conjunction with Scott's provider on a number of client sites without any issues. |
|
Tom Kraak Seablick Consulting LLC DNN SEO Quickstart Guide |
|
|
Jason Koskimaki Registered Users
 Nuke Wiz Posts:194

 |
| 7/30/2007 8:56 AM |
|
I implemented this myself too. It is very important for SEO so all links to your site are directed to your same page. Although I stuck my redirect in a skin object. And mine is hardcoded dependent on my specific website. But it works. You can verify by using a program called fiddler which displays http codes of webpages u click on.
myurl = getYourFullURLFromWhateverMethodIForgotDoesit()
if myurl.startswith("http://mysite.com") then
Response.Clear()
Response.Status = "301 Moved Permanently"
Response.AddHeader("Location",myurl.replace("http://mysite.com","http://www.mysite.com")
Response.End()
end if
Jason |
|
Social Networking Site for Young Professionals - My DNN Site w/ lots of Ventrian Modules |
|
|
Mariette Knap Gold Membership
 Nuke Master Posts:646


 |
| 9/10/2007 1:39 PM |
|
I don't want to sound as a 'me too' post but the issue with multiple URL's and the same content is a big, big problem. A 301 redirect for all possible URL's is extremely important IMHO. |
|
Mariëtte Knap www.smallbizserver.net |
|
|
y01nk Registered Users
 Nuke Master Posts:201


 |
| 9/10/2007 9:53 PM |
|
Apart from the common situation of "www" vs. "non-www" duplicate content- unwitting late comers to Scott's massively improved Friendly URL provider also have to deal with the added double indexing of pre and post FURL content.
So this is why those web-head SEO guys get all the money, huh?
;-) |
|
 |
|
|