mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
htaccess changes to fit system single entry point
This commit is contained in:
@@ -23,20 +23,7 @@
|
|||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteCond %{REQUEST_FILENAME} !-l
|
RewriteCond %{REQUEST_FILENAME} !-l
|
||||||
|
|
||||||
### TAGWORDS ###
|
### Single entry point ###
|
||||||
RewriteRule ^tagwords/?(.*)$ e107_plugins/tagwords/tagwords.php?q=$1 [L]
|
RewriteRule .* rewrite.php [L]
|
||||||
|
|
||||||
### NEWS SEF URLs - set 'news' to the 'URL identifier' value (news Administration area) ###
|
|
||||||
RewriteRule ^news/?$ news.php [L]
|
|
||||||
RewriteRule ^news/(.*)$ news.php?rewrite=$1 [L]
|
|
||||||
|
|
||||||
## Use this on your own risk.
|
|
||||||
## Quick & dirty solution for news rewrite without (empty) 'URL identifier',
|
|
||||||
## extremely useful for blog site owners
|
|
||||||
## Keep in mind it should be your last RewriteRule!
|
|
||||||
## You also might want to change your Front page (administration) to your site root, e.g. '/'
|
|
||||||
#DirectoryIndex news.php index.php index.html
|
|
||||||
#RewriteRule ^(.*)$ news.php?rewrite=$1 [L]
|
|
||||||
|
|
||||||
|
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
Reference in New Issue
Block a user