Difference between #6 and #7 of
Using search engine and user friendly URLs

Revision #7 has been created by Maurizio Domba Cerin on Jan 18, 2011, 8:40:35 PM with the memo:

replacet <, > with <, > in .htaccess example
« previous (#6) next (#8) »

Changes

Title unchanged

Using search engine and user friendly URLs

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

SEO, URL

Content changed

[...]
We need one more step in order to remove `index.php` from our URLs, i.e., configuring the Web server. For Apache HTTP server, as described in the [Definitive Guide](/doc/guide/topics.url), we need to place a file named `.htaccess` under the directory containing the entry script. The file should have the following content:

~~~
Options +FollowSymLinks
IndexIgnore */*
&lt;<IfModule mod_rewrite.c&gt;>
RewriteEngine on
[...]
# otherwise forward it to index.php
RewriteRule . index.php
&lt;</IfModule&gt;>
~~~

Please consult the user reference if you are using a different Web server.
[...]
19 0
31 followers
Viewed: 101 823 times
Version: 1.1
Category: Tutorials
Tags: SEO, URL
Written by: qiang
Last updated by: Yang He
Created on: Oct 23, 2009
Last updated: 11 years ago
Update Article

Revisions

View all history