The mod_rewrite and the magic of rewriting the URL (second part)

In the first part of this article we’ve seen two simple examples of  url rewrite. What we will do now is to insert the name of the product in the url. Why?

Since the rewritten url will be the one registered from the search engine, it will be extremely interesting to visualize the product’s name in the url.

An aspect that we should pay great attention regards the limit  for which the string of  an url doesn’t accept  spaces and special or accented characters. So, we should pass the string that represents the name of the product through a filter that replaces the spaces with dashes, the accented letters with the same letters not accented and that eventually eliminates the special characters. || Read more »

Inspiration: Africa, land of colours and creativity

Inspiration: Africa, land of colours and creativity

Mysterious, seductive, place of fascinating legends and of exotic lands to be discovered: in this period everybody in one way or another talk about her. It’s Africa, a land that like no other is capable to give strong emotions and,...

3 comments

How to convert an XHTML layout in a Joomla template?

How to convert an XHTML layout in a Joomla template?

In this article we can be, starting from an existing layout, XHTML, create a template for Joomla in a few easy steps. We will use the layout corporate / business created by Sara and resumed later also by Justin in an article that explains how...

9 comments

WordPress: How to Create the Theme Header? Part 2

WordPress: How to Create the Theme Header? Part 2

The topic this week is on building a theme for WordPress, it is very interesting and allow us to display the pages of our blog / site that we want to show at any point of our template and complete...

4 comments

Freelancer’s errors: a few tips to work better

Freelancer’s errors: a few tips to work better

To choose to work as a freelancer involves, obviously, a series of advantages and disadvantages with which each of us have to deal with. On one side, the long yearned  professional freedom and the desire to self-manage one’s own professionalism,...

4 comments

The mod_rewrite and the magic of rewriting the URL (first part)

The mod_rewrite and the magic of rewriting the URL (first part)

In this article, we’ll see the basics of a wide spread and useful technique, so called  l’url rewrite. It deals with one of the Apache’s functionality made possible with the module  mod_rewrite, implementable and configurable through our old friend: the...

4 comments

YIW gifts: Psd pack + A Complete Web Design eBook for free

compleanno-yiw2

Today we officially launch a new service offered by YIW: the newsletter.  By signing up for our newsletter you will directly receive every month in your inbox: articles, notifications, utilities, funny anecdotes on the world of web design. Besides you...

40 comments

The new look of YIW in the name of Order and Readability

The new look of YIW in the name of Order and Readability

If you thought that the YIW team was passing it’s time on the beach far away from the community, you have to change your mind now: in these last days we finally finished the  graphic restyling of the blog and...

9 comments

We’re going on holiday, see you on september!

We’re going on holiday, see you on september!

Your Inspiration's team is very tired, after one years of hard work. So, we're going on holiday for the month of August and we came back (with many news and with a new logo & layout design!) on the first...

1 comment

CSS tips: modify the display of the text with the white-space property

CSS tips: modify the display of the text with the white-space property

One of the least known aspects of CSS is that relative to the management of white spaces inside a text. Often there is the necessity for having a greater control over text formatting compared to that predefined by the browser: an example...

8 comments

WordPress: How to Create the Theme Header? Part 1

WordPress: How to Create the Theme Header? Part 1

Here we are by the usual appointment on Tuesday with the course dedicated to the creation of a theme for WordPress. In the last lesson we stopped just at the climax: after creating the structure of our issue with the files needed...

13 comments

Sketch and doodles for an original and creative (web)design

Sketch and doodles for an original and creative (web)design

There are those who keep calling them “scribbles” failing to recognize that often, behind some doodles and designs seemingly meaningless, lies a downright art. That's what practically the “doodles” are: designs strictly made by hand. Elaborate complex figures, small caricatures,...

4 comments

Security and Web sites: Code Injection

Security and Web sites: Code Injection

After talking about safety on the web in general, and having observed the enormous complexity behind the simple navigation of a website, you'll realize it's impossible to guarantee total security. But as web sites developers we can do much, starting with...

7 comments

How to create a WordPress theme starting from scratch?

How to create a WordPress theme starting from scratch?

In the first two lessons we got acquainted with the WordPress platform, in the first one we saw how to install it on a home PC transformed for the occasion into a developing environment, while in the second one we...

6 comments

How to design a layout in magazine style? tutorial and psd

How to design a layout in magazine style? tutorial and psd

Our guide on styles of web design continues: new round, new tutorial… this time it’s the turn of a layout in magazine style, realized on the base of the characteristics and on the trends analyzed in the precedent article. Like...

24 comments

jQuery – How to Create a News Ticker with just a few JavaScript lines?

jQuery – How to Create a News Ticker with just a few JavaScript lines?

As you already know now, I love to reinvent the wheel ( jQuery always allows me that), and because of that, once more, we'll see how to create something which already exists: a news ticker. Usually the "news ticker" is a...

30 comments

From Psd to Xhtml: how to transform the layout in XHTML+CSS?

From Psd to Xhtml: how to transform the layout in XHTML+CSS?

In the first part of this article we have seen how to export, using the instrument “sections” of Photoshop, the vary components of our layout “YIW Corporate“. Today “you’ll dirty your hands” with the code: we’ll see how to make...

7 comments

WordPress: Let’s have a Look at the Administration Panel

WordPress: Let’s have a Look at the Administration Panel

In the first lesson we saw how it is easy to install WordPress on your computer: the rest of the simplicity and rapidity of installation are just some of the features that have made this so popular blogging platform. Today's lesson...

8 comments

Regular Expressions: Advanced Constructs

Regular Expressions: Advanced Constructs

The "bad" reputation of regular expressions is due in large part to the obscure syntax: there are many rules and abbreviations, some symbols have other meanings depending on their location, some constructs seem incomplete, while they are functioning properly. In...

2 comments