Wiki

Articles tagged with "url", sorted by date (updated)X
Displaying 1-10 of 15 result(s).

How to have truly multilingual URLs

Updated 22 days ago by Maurizio Domba CerinHow-tos1 comment – viewed 5,314 times – ( -1 ) – version 1.1
We can easily have a multilingual site if we put a "lang" parameter that comes via GET. For example:

How to make UrlManager createAbsoluteUrl work with sub-domains

Updated 4 months ago by Wade ShulerHow-tos1 comment – viewed 4,786 times – ( +1 / -1 ) – version 2.0
Upon creating my Yii2 Members System, I have ran into a few snags along the way that forced me to extend and bend Yii2 to my will.

How to hide /frontend/web in url addresses on apache

Updated 2 years ago by yiimHow-tos14 comments – viewed 82,690 times – ( +18 / -1 ) – version 2.0
There is an issue on Yii2 to redirecting / urls to /frontend/web. In other words we need a way to hidden /frontend/web from addresses. We will do this without changing Apache configuration and creating virtual host or setting document root (It's good for share hostings that we have not access to apache.conf)

Where to implement knowledge about the addresses of the controller?

Updated 3 years ago by Petr.GrishinTutorials0 comments – viewed 3,806 times – ( +1 / -1 ) – version 1.1
Knowledge is necessary to determine the address of the controller in a single layer system. This allows you to quickly search and painlessly produce refactoring controllers and their addresses.

How to create a simple logout link in the view?

Updated 3 years ago by CeBeHow-tos0 comments – viewed 18,190 times – ( +1 / -4 ) – version 1.1
Here you learn to create and set a simple ahref-link to logout the current user.
tags: Logout, Link, user, URL, views

Inline views, write less

Updated 4 years ago by FirebreakerTips0 comments – viewed 6,561 times – ( +3 / -1 )
Sometimes writing views like

URL management for Websites with secure and nonsecure pages

Updated 4 years ago by qiangHow-tos12 comments – viewed 37,214 times – ( +29 / -1 ) – version 1.1
In this article, I will describe how to manage URLs for a Website that has both secure and nonsecure content.
tags: URL

Hyphenation of routes in URL management

Updated 4 years ago by qiangHow-tos6 comments – viewed 24,761 times – ( +19 / -1 ) – version 1.1
In this article, we introduce an approach that allows automatic hyphenation of the route part in URLs.
tags: URL

CSS, JS and image URL shortcut methods

Updated 5 years ago by jonahTutorials2 comments – viewed 25,711 times – ( +2 / -2 ) – version 1.1
Below I have created an Html helper with methods to help me locate directories of my assets dynamically. Such assets may include CSS, JavaScript and images.
tags: URL

Using search engine and user friendly URLs

Updated 5 years ago by Yang HeTutorials7 comments – viewed 77,773 times – ( +23 / -2 ) – version 1.1
The Definitive Guide introduces the fundamentals of managing URLs in a Yii application. In this tutorial, we introduce a practical technique that can quickly turn your application into using search-engine-friendly URLs.
tags: SEO, URL