![]() |
|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
#1
IP: 114.238.211.97
|
|||
|
|||
|
This can be easily done by .htaccess rewrite rule.
Example : http://www.loupesusa.com/contacts.html .htaccess rule : RewriteRule ^contacts.html/?$ help.php?section=contacts&mode=update [L] Code:
# Clean URLs [[[
Options +FollowSymLinks -MultiViews -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{ENV:REDIRECT_STATUS} !^401$
RewriteRule ^contacts.html/?$ help.php?section=contactus&mode=update [L]
RewriteCond %{REQUEST_URI} !^/(payment|admin|provider|partner)/
RewriteCond %{REQUEST_FILENAME} !\.(gif|jpe?g|png|js|css|swf|php|ico)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ dispatcher.php [L]
</IfModule>
# /Clean URLs ]]]
Last edited by admin : 2015-12-20 at 08:20 AM |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Zen Cart: Re-routing 404 errors to your index page | topvip | ZenCart | 0 | 2012-04-08 07:59 AM |
| htaccess 301 redirect tutorial | yahoo | 服务器环境搭建 | 0 | 2009-09-06 12:45 AM |
| What are the Strongest Directories? | smiling | 网站链接开发 | 1 | 2007-07-28 09:26 PM |
| Successful Site in 12 Months with Google Alone | sunshine | 搜索引擎市场营销研究 | 0 | 2006-02-27 09:27 PM |
| Building for the user and the bot. | admin | 建站交流 | 0 | 2006-01-17 03:54 PM |