Submit Your Article Forum Rules

+ Reply to Thread
Results 1 to 3 of 3

Thread: Connicalization

  1. #1
    Member ukhotels will become famous soon enough
    Join Date
    Apr 2009
    Posts
    34

    Connicalization

    I posted a problem in one of the forums but I think it is better to start a new thread as I may have posted in the wrong forum

    I need assistance. My web pages show up in search results on 1st and 2nd pages and then vanish for sometime and then come back again. It has been on and off like that for sometime now.

    I have been told something about connicalization and have beed given a script to use. In the first place I would like to know whether the script should go onto my .htaccess file. If it should, what should I do to the rules already in the .htaccess file. Found below the script

    ### Require the www to avoid cannonicalization issues ###
    RewriteCond %{HTTP_HOST} !^www\.myukhotels\.com [NC]
    RewriteRule ^(.*)$ http://www.myspacefm.com/$1 [L,R=301]

    ### Redirect index.htm to / ######
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.htm?\ HTTP/
    RewriteRule ^(.*)index\.htm?$ http://www.myukhotels.com/$1 [R=301,L]

    ### Redirect index.html to / ######
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.html?\ HTTP/
    RewriteRule ^(.*)index\.html?$ http://www.myukhotels.com/$1 [R=301,L]

    I would like the gurus to help me to know where this script should go my my server or my web page

  2. #2

  3. #3
    Senior Member Ace is a splendid one to behold Ace is a splendid one to behold Ace is a splendid one to behold Ace is a splendid one to behold Ace is a splendid one to behold Ace is a splendid one to behold Ace is a splendid one to behold Ace's Avatar
    Join Date
    Jul 2004
    Posts
    371

    Re: Connicalization

    Q - In the first place I would like to know whether the script should go onto my .htaccess file.

    Ans - YES

    Q - If it should, what should I do to the rules already in the .htaccess file.

    Ans - keep them also

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts