webino/webino-canonical-redirect 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

webino/webino-canonical-redirect

最新稳定版本:0.1.1

Composer 安装命令:

composer require webino/webino-canonical-redirect

包简介

URI Canonicalizer for Zend Framework 2

README 文档

README

Build Status Coverage Status Scrutinizer Quality Score Dependency Status
Latest Stable Version Total Downloads Latest Unstable Version License

Allows you to configure www and trailing slash of your web site canonical URI. If wrong URI format is provided redirects to the canonicalized URI with HTTP 301.

If you can't or don't know how to configure your web server rewrites to handle URI duplicate content, this module is the smart solution.

Features

  • Redirects ..domain.tld/index.php to ..domain.tld
  • Configure site to use www www.domain.tld or not domain.tld
  • Configure site to use trailing slash ..domain.tld/something/ or not ..domain.tld/something

Setup

Following steps are necessary to get this module working, considering a zf2-skeleton or very similar application:

  1. Run: php composer.phar require webino/webino-canonical-redirect:dev-develop
  2. Add WebinoCanonicalRedirect to the enabled modules list

QuickStart

Copy, paste & override following settings to your configuration:

'webino_canonical_redirect' => array(
    'enabled' => true,
    'www'     => false,     // bool = enabled|Use URI with www
    'slash'   => false,     // bool = enabled|Use URI with trailing slash
),

Development

We will appreciate any contributions on development of this module.

Learn How to develop Webino modules

Addendum

Please, if you are interested in this Zend Framework module report any issues and don't hesitate to contribute.

Report a bug | Fork me

统计信息

  • 总下载量: 13.14k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 7
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: New
  • 更新时间: 2013-02-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固