Results 1 to 4 of 4
  1. #1

    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
    491
    can you search on Google that is brief explain on Google.

  3. #3
    Registered User
    Join Date
    Dec 2015
    Location
    USA
    Posts
    222
    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

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.