2017 © Pedro Peláez
 

library uri

URL Standardized Redirector with Customized Setting for SEO

image

yidas/uri

URL Standardized Redirector with Customized Setting for SEO

  • Tuesday, February 6, 2018
  • by yidas
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

php URI

URL Standardized Redirector with Customized Setting for SEO, (*1)

Latest Stable Version Latest Unstable Version License, (*2)


DEMONSTRATION

yidas\uri\Seo::trailingSlash(false)->removeIndex();

REQUIREMENTS

This library requires the following:, (*3)

  • PHP 5.4.0+

INSTALLATION

Run Composer in your project:, (*4)

composer require yidas/uri

COMPONENTS

Seo

yidas\uri\Seo is a helper to handle URI for SEO, you could customized set rules in your application, then it will redirect to correct URI if the current URI is not match your expectation., (*5)

The usage methods are following:, (*6)

trailingSlash()

Trailing Slash Handler, by default it always redirect to uri with last slash., (*7)

https://www.domain.com/about/   (Switch On)
https://www.domain.com/about    (Switch Off)

For example:, (*8)

yidas\uri\Seo::trailingSlash(false);
// https://www.domain.com/about/ => https://www.domain.com/about

removeIndex()

Most framework allows index action could be accessed by root URI of controller, this makes that way only., (*9)

For example, https://www.domain.com/about/index/ to https://www.domain.com/about/., (*10)

The Versions

06/02 2018

dev-master

9999999-dev https://github.com/yidas/php-uri

URL Standardized Redirector with Customized Setting for SEO

  Sources   Download

MIT BSD-3-Clause

url php seo uri

25/01 2018

1.1.0

1.1.0.0 https://github.com/yidas/php-uri

URL Standardized Redirector with Customized Setting for SEO

  Sources   Download

BSD-3-Clause

url php seo uri

18/01 2018

1.0.0

1.0.0.0 https://github.com/yidas/php-uri

URL Standardized Redirector with Customized Setting for SEO

  Sources   Download

BSD-3-Clause

url php seo uri