301 Redirect / Mod Rewrite /trainling slashes Question
- matterhornpat
- Forum Members

- Posts: 49
- Joined: Wed Jul 11, 2007 7:55 pm
301 Redirect / Mod Rewrite /trainling slashes Question
Hello...new to CMS, been experimenting with it for about a week and love the capabilities.
I develop from an SEO perspective and have a question on rewrites.
I have pretty urls' taken care of, and have redirected domain.com to www.domain.com...have one more thing that I would like to accomplish but am thus far unable to.
Right now crawlers see two versions of home page www.domain.com and www.domain.com/
Is there some kind of conditional or exception to the trailing slashes mod that can be placed on the home page to eliminate this?
Trivial to some I am sure...but really need to accomplish this.
Thanks for any help and input...
I develop from an SEO perspective and have a question on rewrites.
I have pretty urls' taken care of, and have redirected domain.com to www.domain.com...have one more thing that I would like to accomplish but am thus far unable to.
Right now crawlers see two versions of home page www.domain.com and www.domain.com/
Is there some kind of conditional or exception to the trailing slashes mod that can be placed on the home page to eliminate this?
Trivial to some I am sure...but really need to accomplish this.
Thanks for any help and input...
Re: 301 Redirect / Mod Rewrite /trainling slashes Question
what http server are you running?
at least my apache2 does that automatically...
at least my apache2 does that automatically...
- matterhornpat
- Forum Members

- Posts: 49
- Joined: Wed Jul 11, 2007 7:55 pm
Re: 301 Redirect / Mod Rewrite /trainling slashes Question
Apache 1.3.37 (Unix)
-
Pierre M.
Re: 301 Redirect / Mod Rewrite /trainling slashes Question
Hello
Pierre M.
I can't beleve this ! I have never seen a .com postfixed root URL in any browser. World record !-)patstrader wrote: Right now crawlers see two versions of home page www.domain.com and www.domain.com/
Pierre M.
- matterhornpat
- Forum Members

- Posts: 49
- Joined: Wed Jul 11, 2007 7:55 pm
Re: 301 Redirect / Mod Rewrite /trainling slashes Question
I take it I am being made fun of....
Was just asking for some help or an explanation.
Was just asking for some help or an explanation.
-
Pierre M.
Re: 301 Redirect / Mod Rewrite /trainling slashes Question
I'm sorry. Please don't take it like this. I apologize if I have hurt you.
Here is a more friendly response :
Do you really see a .com postfixed root URL in the address bar of some browser ? I mean : root URL with no trailing slash ?
What makes you think "crawlers see two versions of home page" ? I would understand if you have said "/" and "/index.html" which isn't a problem for good crawlers.
Pierre M.
Here is a more friendly response :
Do you really see a .com postfixed root URL in the address bar of some browser ? I mean : root URL with no trailing slash ?
What makes you think "crawlers see two versions of home page" ? I would understand if you have said "/" and "/index.html" which isn't a problem for good crawlers.
Pierre M.
- matterhornpat
- Forum Members

- Posts: 49
- Joined: Wed Jul 11, 2007 7:55 pm
Re: 301 Redirect / Mod Rewrite /trainling slashes Question
I used a tool, called "crawl test", which is located at seomoz.org
When I run a test for www.mydomain.com it returns both www.mydomain.com and www.mydomain.com/
When I run a test for www.mydomain.com it returns both www.mydomain.com and www.mydomain.com/
-
Pierre M.
Re: 301 Redirect / Mod Rewrite /trainling slashes Question
I still fail to understand how a browser could request some URL "rooter" than "/". If it asks "GET /" then it should show ".com/" in the address bar, shouldn't it ?
I'm not confident about seomoz tools.
See this : http://validator.w3.org/check?uri=http% ... hadoks.com
There is no trailing slash and the w3 validator responds by stating it has tested http://www.lesshadoks.com/ (with trailing slash).
".com" means an empty URL, hence not on the web. This is why I was so surprised in my first post above.
Pierre M.
I'm not confident about seomoz tools.
See this : http://validator.w3.org/check?uri=http% ... hadoks.com
There is no trailing slash and the w3 validator responds by stating it has tested http://www.lesshadoks.com/ (with trailing slash).
".com" means an empty URL, hence not on the web. This is why I was so surprised in my first post above.
Pierre M.
Re: 301 Redirect / Mod Rewrite /trainling slashes Question
I have never seen such behavior either..
and the tool requires login to yetanothersiteiwouldneedtocreatenewpasswordfor
and the tool requires login to yetanothersiteiwouldneedtocreatenewpasswordfor
- matterhornpat
- Forum Members

- Posts: 49
- Joined: Wed Jul 11, 2007 7:55 pm
Re: 301 Redirect / Mod Rewrite /trainling slashes Question
Thanks for the explanation and insight...
Much appreciated.
Much appreciated.
