Giter Site home page Giter Site logo

【ページ】固定ページに「index.html」でもアクセスが可能なのでカノニカルを出力する about basercms HOT 6 CLOSED

baserproject avatar baserproject commented on August 22, 2024
【ページ】固定ページに「index.html」でもアクセスが可能なのでカノニカルを出力する

from basercms.

Comments (6)

ryuring avatar ryuring commented on August 22, 2024 1

@yama 確認しました。 https://example.com/sample の場合、https://example.com/sample.html でもアクセス可能ということですね。

from basercms.

yama avatar yama commented on August 22, 2024

@tommy6073 こちらの件、詳細をご案内いただいてよいでしょうか?
https://example.com/sample というURLの固定ページがあったとして、
https://example.com/sample/index.html というURLでも同じページを開くことが
できるということと思いましたが、手元の開発環境で再現しませんでした。

from basercms.

ryuring avatar ryuring commented on August 22, 2024

@yama
tommy6073 は、Redmineからのチケット移行を担当しただけで内容を把握していません。
僕の方で週明け確認しますね。

from basercms.

yama avatar yama commented on August 22, 2024

@ryuring https://example.com/sample としてカノニカルURLを出力するとよいですね。後ほどプルリクをまとめます。

from basercms.

ryuring avatar ryuring commented on August 22, 2024

@yama そうですね。 https://example.com/sample をメインとする前提でカノニカル出力をお願いします。

from basercms.

yama avatar yama commented on August 22, 2024

@ryuring
手元の環境で久しぶりに確認してみたら、カノニカルURLが出力されませんでした。
よく調べてみたら、サブサイトがあることが前提となっていました。昨年の夏頃から、
スマホ表示用のサブサイトを作らないようになってましたね、、

とりあえず修正しますが、サブサイトの有無に関係なくカノニカルURLを取得できる
仕組みを、別issueを立てるなどして考えてみます。

from basercms.

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.