Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
oopanuga committed May 2, 2016
1 parent 2eaf90c commit 5130d65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ PM> Install-Package SeoPack

### Using SeoPack - Urls

Configuring Url Policies - this is normally done at application startup.
Configuring Url Policies - this is best done on application startup.
```c#
UrlPolicyConfiguration.Configure().LowercasePolicy().WwwPolicy().NoTrailingSlashPolicy()
```
Expand All @@ -47,12 +47,12 @@ or
@Url.ActionSeoFriendlyUrl("Index", "Users", new { pageNumber = 1 })
```

Handling inbound urls - configure the RedirectToSeoFriendlyUrlAttribute globally.
Handling inbound urls - configure the RedirectToSeoFriendlyUrlAttribute filter
```c#
GlobalFilters.Filters.Add(new RedirectToSeoFriendlyUrlAttribute())
```

Creating Seo Friendly Urls.
Creating Seo Friendly Urls
```c#
@Url.UnpackSeo().ToSeoFriendlyUrl("http://WWW.google.com/")
or
Expand Down

0 comments on commit 5130d65

Please sign in to comment.