homepage Welcome to WebmasterWorld Guest from 54.161.236.229
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
how to redirect this URL.
Somehow the url got indexed 2x's
acimag




msg:4098787
 2:19 pm on Mar 16, 2010 (gmt 0)

i just did a site:domain.com and found there is a listing for
http://www.example.comwww.example.com/

how do i redirect this back to just
http://www.example.com

[edited by: jdMorgan at 3:58 pm (utc) on Mar 16, 2010]
[edit reason] Please use example.com only. [/edit]

 

jdMorgan




msg:4098877
 4:00 pm on Mar 16, 2010 (gmt 0)

Assuming that you've got wildcard-subdomain DNS set up, a standard domain canonicalization routine --as posted here many times in many flavors-- should suffice.

JIm

acimag




msg:4099240
 3:09 am on Mar 17, 2010 (gmt 0)

i dont have a subdomain setup. i understand how canonical works. but the page does not exist but it's listed in google so how do i put the canonical rule in?

I tried using a modified version of the put www infront of your domain rewrite condition.

just looking for guidance. can you link me to a thread that you think will help?

jdMorgan




msg:4099755
 6:24 pm on Mar 17, 2010 (gmt 0)

This search [google.com] may help. I added a whole bunch of possibly-non-obvious keywords to narrow down the search results a little.

See also our Apache Forum Library and the resources cited in our Apache Forum Charter. Links to both are at the top of this page.

Jim

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved