GithubHelp home page GithubHelp logo

Comments (5)

aembler avatar aembler commented on September 25, 2024 2

We do actually set the canonical URL by default in 9.3 – we did this because we needed it in order to connect to the marketplace. But I'm a big believer in not forcing the canonical URL for reasons exactly like this one. That being said, we've gotten around this requirement to register a canonical URL for the marketplace connection in 9.3, so I may just remove this canonical URL install requirement again in 9.3.1.

from concretecms.

n5ts avatar n5ts commented on September 25, 2024 1

Yes I have it. it's actually the url I'm trying to put in https but in http. How is that possible? I didn't add a canonical url. On the other hand, I had already changed the deletion of index.php by adding the script :
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]

But no other modifications. I delete this canonical, it's now fine, Grazie mille !

from concretecms.

n5ts avatar n5ts commented on September 25, 2024 1

Ok thx for the tips, I think I must have made a mistake when I tried to deactivate the index.php. But it's great to know where the canonical urls go in the files. Thanks a lot!

from concretecms.

mlocati avatar mlocati commented on September 25, 2024

Do you have the file application/config/generated_overrides/site.php? Does it contain a line like this?

                'canonical_url' => '...',

(where ... is the HTTP URL of your website)

from concretecms.

mlocati avatar mlocati commented on September 25, 2024

I didn't add a canonical url

Concrete doesn't set automatically that configuration value.
The only way that value ended up in the configuration is by using the System & Settings > SEO & Statistics > URLs and Redirection dashboard page (or the c5:config CLI command) 😉

from concretecms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.