Wiki articles tagged with "URL"

Showing 1-15 of 15 items.

How to make UrlManager createAbsoluteUrl work with sub-domains

Created 5 years ago by Wade Shuler, updated 4 years ago by CeBe.

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.

1 0
3 followers
Viewed: 31 671 times
Version: 2.0
Category: How-tos

How to have truly multilingual URLs

Created 6 years ago by oligalma, updated 8 months ago by oligalma.

We can easily have a multilingual site if we put a "lang" parameter that comes via GET. For example:

0 0
3 followers
Viewed: 14 591 times
Version: 1.1
Category: How-tos

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

Created 7 years ago by raminious, updated 7 years ago by jim..

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)

10 0
21 followers
Viewed: 117 781 times
Version: 2.0
Category: How-tos

Where to implement knowledge about the addresses of the controller?

Created 8 years ago by Petr.Grishin, updated 8 years ago by Petr.Grishin.

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.

1 0
2 followers
Viewed: 8 749 times
Version: 1.1
Category: Tutorials

How to create a simple logout link in the view?

Created 8 years ago by mi.sarah, updated 8 years ago by CeBe.

Here you learn to create and set a simple ahref-link to logout the current user.

0 2
1 follower
Viewed: 42 668 times
Version: 1.1
Category: How-tos

Inline views, write less

Created 9 years ago by Firebreaker, updated 9 years ago by Firebreaker.

Sometimes writing views like

3 0
3 followers
Viewed: 10 682 times
Version: Unknown (update)
Category: Tips

URL management for Websites with secure and nonsecure pages

Created 9 years ago by qiang, updated 9 years ago by qiang.

In this article, I will describe how to manage URLs for a Website that has both secure and nonsecure content.

19 0
34 followers
Viewed: 55 201 times
Version: 1.1
Category: How-tos
Tags: URL

Hyphenation of routes in URL management

Created 9 years ago by qiang, updated 9 years ago by qiang.

In this article, we introduce an approach that allows automatic hyphenation of the route part in URLs.

15 0
21 followers
Viewed: 33 696 times
Version: 1.1
Category: How-tos
Tags: URL

How to ensure unicity to url

Created 11 years ago by zaccaria, updated 10 years ago by marcovtwout.

Many time for SEO porpouses is important that each page will have a unique address.

13 0
16 followers
Viewed: 21 703 times
Version: 1.1
Category: Tips
Tags: SEO, unique, URL

Url: hide index.php

Created 11 years ago by Hermans, updated 11 years ago by Hermans.

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.

19 0
31 followers
Viewed: 262 694 times
Version: 1.1
Category: How-tos

URL component access functions

Created 11 years ago by Steve Friedl, updated 11 years ago by Steve Friedl.

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.

28 0
16 followers
Viewed: 18 036 times
Version: 1.1
Category: Tips
Tags: request, URL

I18n subdomains and url-rules

Created 12 years ago by Y!!, updated 11 years ago by atrandafir.

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 :-)

7 0
17 followers
Viewed: 42 375 times
Version: 1.1
Category: Tutorials
Tags: i18n, URL

Using search engine and user friendly URLs

Created 12 years ago by qiang, updated 10 years ago by Yang He.

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.

19 0
31 followers
Viewed: 97 251 times
Version: 1.1
Category: Tutorials
Tags: SEO, URL

CSS, JS and image URL shortcut methods

Created 12 years ago by jonah, updated 10 years ago by jonah.

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.

2 1
4 followers
Viewed: 34 267 times
Version: 1.1
Category: Tutorials
Tags: URL

How to hide index.php on nginx

Created 13 years ago by miles, updated 10 years ago by Darwin Wen.

For a complete sample Nginx+PHP-FPM config, view this how-to: Nginx & PHP-FPM

4 0
12 followers
Viewed: 83 202 times
Version: 1.1
Category: Tutorials
Tags: URL