This forum has been moved here:
Helicon Tech Community Forum

Helicon Ape (Forum Locked Forum Locked)
 Helicon Tech : Helicon Ape
Subject Topic: Hi wordpress like seo ? in asp.net
Author
Message |
davidbni
Newbie


Joined: 08 December 2011
Location: United Kingdom
Posts: 4
Posted: 08 December 2011 at 10:19am

With APE how do i get a seo style of rewrite like wordpress
where www.mydomain.com/page.aspx?=about becomes
www.mydomain.com/about also what do i need to setup for
extensionless mapping
Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 09 December 2011 at 4:07am

The rule should be something like this:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.+) /page.aspx?=$1 [NC,L]

And you should check in IIS settings that it allows extensionless URLs.

__________________
Regards,
Anton
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version