Results 1 to 9 of 9
  1. #1
    Senior Member
    Join Date
    Mar 2017
    Posts
    422

    How to resolve Canonical issue if .htacces file is not presented in root directoery?

    Please Suggest the easiest way to solve this problem.

  2. #2
    Registered User
    Join Date
    Jun 2016
    Location
    Mumbai
    Posts
    872
    can you search on Google that is brief explain on Google.

  3. #3
    Registered User
    Join Date
    Dec 2015
    Location
    USA
    Posts
    1,060
    Have you checked you wp_posts table in your DB? Does the "guid" field always shows the right URL? If not it can be manually edited.
    Useless: .htaccess directives at the root level apply for all sub-folders, unless a different rule is specified for a given sub-folder.
    Are you running on Apache ? Is the mod_rewrite.c lmodule oaded ? This module is active on most Linux / Apache shared hosting, but not always. (if your other rewrite rules are working, it means that the module is active).

    Which theme are you using? Some themes like Socrates are recording default URLs (Home for exemple) at the time you activate the theme: any change after activation will have no effect: you have to manually edit the URL in Theme / Settings.

    I've never seen a canonical issue beyond the reach of a good .htaccess rewrite rule, again assuming you are on Apache with mod_rewrite.c activated.

  4. #4
    Junior Member
    Join Date
    Mar 2017
    Location
    Viet Nam
    Posts
    9
    .htaccess rules cascade. It's the reason it has some efficiency issues (minor) - if you request a file seven levels down in the directory tree, every directory up to web root has to be checked for applicable rules.

    So if you have your http to https redirect in the top level, that will apply all the way down unless there's a conflicting rule.

    If you aren't pulling third-party resources in, it should be pretty simple. If you *are* pulling in third-party resources, make sure they are https too
    Graphitii - The simple making a "living photo" softwave

  5. #5
    Registered User 24x7servermanag's Avatar
    Join Date
    Jul 2017
    Location
    India
    Posts
    1,020
    Is it server wide or are you facing this issue with particular site (like WordPress, Joomla etc)?

    Can you please make sure that your dot files are not quarantine? If your file will get quarantine then it won't be listed. Also, make sure that mod rewrite is enabled on your server?
    Server Management Company
    India's Leading Managed Service Provider | Skype: techs24x7
    Cpanel Technical Discussions - Lets talk !

  6. #6
    or those who aren't aware, the .htaccess file is a type of config file for the ... issues, where before we only had redirects and blocking to solve a problem. It is a ... The common SEO redirect is ensuring that a canonical domain is used, ..... 1) Make sure your root directory is called correctly in the error code. ie.

  7. #7
    Registered User alanclarc143's Avatar
    Join Date
    Aug 2017
    Location
    Dallas
    Posts
    90
    Nice sharing here. Thanks for sharing with us.

  8. #8

  9. #9
    Senior Member
    Join Date
    Mar 2017
    Posts
    422
    Quote Originally Posted by elenjohns View Post
    or those who aren't aware, the .htaccess file is a type of config file for the ... issues, where before we only had redirects and blocking to solve a problem. It is a ... The common SEO redirect is ensuring that a canonical domain is used, ..... 1) Make sure your root directory is called correctly in the error code. ie.
    Copy Paste Job, Read Before Posting Anything

Posting Permissions

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

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.