Wiki articles tagged with "URL"

Showing 1-15 of 15 items.

How to make UrlManager createAbsoluteUrl work with sub-domains

Created 8 years ago by Wade Shuler Wade Shuler, updated 7 years ago by CeBe 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: 40 591 times
Version: 2.0
Category: How-tos

How to have truly multilingual URLs

Created 9 years ago by oligalma oligalma, updated 3 years ago by oligalma 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: 19 574 times
Version: 1.1
Category: How-tos

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

Created 10 years ago by raminious raminious, updated 10 years ago by jim. 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)

11 0
22 followers
Viewed: 130 796 times
Version: 2.0
Category: How-tos

Where to implement knowledge about the addresses of the controller?

Created 11 years ago by Petr.Grishin Petr.Grishin, updated 11 years ago by Petr.Grishin 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: 53 306 times
Version: 1.1
Category: Tutorials

How to create a simple logout link in the view?

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

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

0 2
1 follower
Viewed: 50 148 times
Version: 1.1
Category: How-tos

Inline views, write less

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

Sometimes writing views like

3 0
3 followers
Viewed: 12 425 times
Version: Unknown (update)
Category: Tips

URL management for Websites with secure and nonsecure pages

Created 12 years ago by qiang qiang, updated 12 years ago by qiang 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: 60 697 times
Version: 1.1
Category: How-tos
Tags: URL

Hyphenation of routes in URL management

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

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

15 0
21 followers
Viewed: 36 864 times
Version: 1.1
Category: How-tos
Tags: URL

How to ensure unicity to url

Created 14 years ago by zaccaria zaccaria, updated 13 years ago by marcovtwout marcovtwout.

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

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

Url: hide index.php

Created 14 years ago by Hermans Hermans, updated 14 years ago by Hermans 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: 326 989 times
Version: 1.1
Category: How-tos

URL component access functions

Created 14 years ago by Steve Friedl Steve Friedl, updated 14 years ago by Steve Friedl 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: 20 406 times
Version: 1.1
Category: Tips
Tags: request, URL

I18n subdomains and url-rules

Created 15 years ago by Y!! Y!!, updated 14 years ago by atrandafir 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: 48 249 times
Version: 1.1
Category: Tutorials
Tags: i18n, URL

Using search engine and user friendly URLs

Created 15 years ago by qiang qiang, updated 13 years ago by Yang He 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: 108 377 times
Version: 1.1
Category: Tutorials
Tags: SEO, URL

CSS, JS and image URL shortcut methods

Created 15 years ago by jonah jonah, updated 13 years ago by jonah 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: 38 969 times
Version: 1.1
Category: Tutorials
Tags: URL

How to hide index.php on nginx

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

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

4 0
12 followers
Viewed: 99 238 times
Version: 1.1
Category: Tutorials
Tags: URL