Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
September 24, 2003, 3:02 pm
rate this thread
specifically for SEO. I currently have them all pointing to the same
server and IP address.
In the hopes of making each domain look like a unique site, I added PHP
code on the home page to redirect visitors based on the domain that was
It goes something like this:
www.madrigalphotography.com --> www.madrigalphotography.com/ (stays put)
www.new-york-weddings.net --> www.new-york-weddings.net/new-york-
weddings/ (same server just named differently)
www.new-york-wedding-photographer.net --> www.new-york-wedding-
photographer.net/new-york-wedding-photographer/ (same as above)
Now when I link to these pages, can I use just the domain or do I need
the subdirectory as well since the virtual home page redirects?
Or would I just be better off using url re-writing?
Thanks for your help.
Re: Do the search engines penalize PHP redirects?
AFAIK You should link to the subdirectories -- google
will correctly index your redirects because you are using server scripts,
but if you are linking to the domain from external pages, they will also
index your redirect page -- search bots will distinguish
"www.domain.com/" between "www.domain.com/somepath/". You will end up with
two entries on google for the same page.
please correct me if I'm wrong, but I think both header redirects and Meta
tag redirects confuse bots.