Wiki

Articles tagged with "url"X
Displaying 1-10 of 13 result(s).

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

Created 5 months ago by raminiousHow-tos11 comments – viewed 33,209 times – ( +12 ) – 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?

Created 9 months ago by Petr.GrishinTutorials0 comments – viewed 1,929 times – ( +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?

Created about a year ago by mi.sarahHow-tos0 comments – viewed 7,496 times – ( +1 / -3 ) – 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

Created about a year ago by FirebreakerTips0 comments – viewed 4,410 times – ( +3 )
Sometimes writing views like

URL management for Websites with secure and nonsecure pages

Created 2 years ago by qiangHow-tos11 comments – viewed 23,630 times – ( +27 ) – 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

Created 2 years ago by qiangHow-tos6 comments – viewed 16,425 times – ( +18 ) – version 1.1
In this article, we introduce an approach that allows automatic hyphenation of the route part in URLs.
tags: URL

How to ensure unicity to url

Created 3 years ago by zaccariaTips3 comments – viewed 11,212 times – ( +14 ) – version 1.1
Many time for SEO porpouses is important that each page will have a unique address.
tags: SEO, unique, URL

Url: hide index.php

Created 3 years ago by HermansHow-tos16 comments – viewed 116,863 times – ( +27 / -1 ) – version 1.1
Maybe it looks simple, but some time ago I need some time to find a solution of this case. I finally got it, and I want to share that I also experienced such cases. So that it can make reference.

URL component access functions

Created 4 years ago by Steve FriedlTips1 comment – viewed 11,078 times – ( +28 ) – version 1.1
Many applications wish to obtain parts of the URL for the current page (the hostname, the query string, etc.), and the CHttpRequest class wraps various $_SERVER variables to break down the URL into its constituent parts.
tags: URL, request

I18n subdomains and url-rules

Created 5 years ago by Y!!Tutorials6 comments – viewed 23,770 times – ( +7 ) – version 1.1
This guide is for more or less advanced users. If you just started with Yii or didn't worked with any web-framework before, you may should come back later :-)
tags: i18n, URL