Results 1 to 8 of 8


  1. #1

    Default How to solve canonicalization issue or what is htacess file?

    How to solve canonicalization issue or what is htacess file?

  2. #2

    Default

    .Htaccess file enables you to redirect (301) is permanent redirection of the old page to a new page.

  3. #3

    Default

    .htacess file is used to solve the canonicalization issue of a website. It may happen that the home page of the site may take several URLs like


    1. www.abc[dot]com (with www)
    2. www.abc[dot]com/index.html (Index page)
    3. abc.com (without www)


    The search engines might treat these URL as different and may divide the link juice gained by having various backlinks made with any of these 3 URLs. The link juice gets divided between these three URLs equally. .htacess file is created to have a single URL of the home page so that the link juice is passed onto single URL.

  4. Default

    .htaccess may be a configuration file to be used on net servers running the Apache net Server code. When a .htaccess file is placed during a directory that is successively 'loaded via the Apache net Server', then the .htaccess file is detected and dead by the Apache net Server code.

  5. #5

    Default

    First of all, you need to know about your site have which types of server. Mostly these types of server use a htaccess file:
    1- Linux, 2- Apache
    If your hosting account uses one of these types of the server then you can copy below code into your htaccess file.

    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^ example.com [NC]
    RewriteRule ^(.*)$ http://www.example .com/$1 [L,R=301]
    RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
    RewriteRule . http://www.example.com%1/%2 [R=301,L]
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(([^/]+/)*)index\.html\ HTTP/
    RewriteRule index\.html$ http://www.example.com/%1 [R=301,L]\

    Note: In red highlights, you need to replace example.com with your domain name and in green highlights, you need to replace with your .html or .php index page. Keep in mind do not write just index, write extension too.

    After the copy, this code with your htaccess old code, Save it and upload to your root folder where your site has index page. Hope it will solve.

  6. #6

    Default

    First of all, you need to know about your site have which types of server. Mostly these types of server use a htaccess file:
    1- Linux, 2- Apache
    If your hosting account uses one of these types of the server then you can copy below code into your htaccess file.

    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^ example.com [NC]
    RewriteRule ^(.*)$ http://www.example .com/$1 [L,R=301]
    RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
    RewriteRule . http://www.example.com%1/%2 [R=301,L]
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(([^/]+/)*)index\.html\ HTTP/
    RewriteRule index\.html$ http://www.example.com/%1 [R=301,L]\

    Note: In red highlights, you need to replace example.com with your domain name and in green highlights, you need to replace with your .html or .php index page. Keep in mind do not write just index, write extension too.

    After the copy, this code with your htaccess old code, Save it and upload to your root folder where your site has index page. Hope it will solve.

  7. Default

    The best and most effective way to resolve the canonical issue is with a permanent 301 redirect. This can be implemented in a number of ways, as detailed below. Depending on what server your website is hosted on will determine the method which you use to implement a redirect.

  8. #8


Similar Threads

  1. Replies: 0
    Last Post: 12-08-2016, 07:07 AM
  2. Replies: 4
    Last Post: 07-25-2016, 07:24 AM
  3. How can we solve Canonicalization issue ?
    By krishnanayak in forum Internet Marketing, SEO, PPC, Web Development Forums
    Replies: 1
    Last Post: 03-12-2016, 09:20 AM
  4. How will you prevent canonicalization issue?
    By Nexevo Technologies in forum SEO Forum
    Replies: 5
    Last Post: 03-05-2016, 05:51 AM
  5. Solve my traffic issue
    By stuarts in forum SEO Forum
    Replies: 0
    Last Post: 11-12-2010, 03:36 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
| UKC | VPS Germany | Webmaster Marketplace | Web Hosting Forum | Domain Name Forum | VPS Forum | Webmaster Forum | Website Design Forum | Sites For Sale |