diff --git a/e107_plugins/news/e_url.php b/e107_plugins/news/e_url.php
deleted file mode 100644
index 6a083a571..000000000
--- a/e107_plugins/news/e_url.php
+++ /dev/null
@@ -1,49 +0,0 @@
- "", // default only - should also be configurable from admin->url
- 'function' => "myfunction",
- 'description' => "SEF Urls for Custom-Pages"
- );
-
- return $this->urls;
- }
-
- function myfunction($curVal)
- {
-
- //Simulated
- $urls = array(
- 'welcome-to-e107' => "{e_BASE}news.php?extend.1"
- );
-
- return (isset($urls[$curVal])) ? $urls[$curVal] : FALSE;
-
- }
-
- function create($data,$mode='default') // generate a URL from Table Data.
- {
- if($mode == 'default')
- {
- if($data['news_id']==1)
- {
- return "{e_BASE}welcome-to-e107";
- }
- }
- }
-
-}
-
-?>
\ No newline at end of file
diff --git a/rewrite.php b/rewrite.php
deleted file mode 100644
index 58095df2a..000000000
--- a/rewrite.php
+++ /dev/null
@@ -1,55 +0,0 @@
-run();
-
-$inc = $front->isLegacy();
-if($inc)
-{
- // last chance to set legacy env
- $request = $front->getRequest();
- $request->setLegacyQstring();
- $request->setLegacyPage();
- include($inc);
- exit;
-}
-
-$response = $front->getResponse();
-if(e_AJAX_REQUEST)
-{
- $response->setParam('meta', false)
- ->setParam('render', false)
- ->send('default', false, true);
- exit;
-}
-$response->sendMeta();
-
-include_once(HEADERF);
- eFront::instance()->getResponse()->send('default', false, true);
-include_once(FOOTERF);
-exit;
-
diff --git a/url.php b/url.php
deleted file mode 100644
index 172bd91b3..000000000
--- a/url.php
+++ /dev/null
@@ -1,136 +0,0 @@
-urlPath = $urlPath;
- $this->urlSrch = $urlSrch;
- }
- else // Root position SEF Url.
- {
- $this->urlPath = "";
- $this->urlSrch = $urlPath;
- }
-
- $this->include = $this->getInclude(); //TODO Clean and Check returned URL.
-
- list($self,$query) = explode("?",$this->include);
- $this->incFile = $tp->replaceConstants($self);
-
- if(!$query && $_SERVER['QUERY_STRING'])
- {
- $e_QUERY = str_replace(array('{', '}', '%7B', '%7b', '%7D', '%7d'), '', rawurldecode($_SERVER['QUERY_STRING']));
- $e_QUERY = str_replace('&', '&', $tp->post_toForm($e_QUERY));
- $query = $e_QUERY;
- }
-
- define("e_SELF", e_REQUEST_SELF);
- define("e_QUERY", $query);
- }
-
-
- function getInclude()
- {
- // Check SiteLinks First
- $lnk = e107::getSitelinks();
- $links = $lnk->getlinks(0);
- if(isset($lnk->sefList[$this->urlSrch]))
- {
- return $lnk->sefList[$this->urlSrch];
- }
-
- // Check Plugins (including News and Pages)
- $urlConfig = e107::getAddonConfig('e_url');
-
- foreach($urlConfig as $class_name=>$val)
- {
- foreach($val as $p=>$t)
- {
- if((vartrue($t['path']) == $this->urlPath) && vartrue($t['function']))
- {
- if($ret = e107::callMethod($class_name."_url", $t['function'], $this->urlSrch))
- {
- return $ret;
- }
- }
- }
- }
- }
-
-
- function debug()
- {
- echo "
REQUEST=".$_SERVER['REQUEST_URI'];
- echo "
URI Path= ".$this->urlPath;
- echo "
URI Found= ".$this->urlSrch;
- echo "
Calculated e_SELF= ".$this->include;
- echo "
Renewed e_SELF= ".e_SELF;
-
- echo "
e_QUERY= ".e_QUERY;
- echo "
Including: ".$this->incFile;
-
- // echo "
e_REQUEST_URL= ".e_REQUEST_URL;
- // echo "
e_REQUEST_SELF= " . e_REQUEST_SELF; // full URL without the QUERY string
- // echo "
e_REQUEST_URI= " .e_REQUEST_URI; // absolute http path + query string
- // echo "
e_REQUEST_HTTP= ". e_REQUEST_HTTP; // SELF URL without the QUERY string and leading domain part
- // echo "
e_HTTP= ".e_HTTP;
- // echo "
e_SELF= ".e_SELF;
- }
-
- function create()
- {
-
- }
-}
-
-
-$url = new eUrl;
-$url->debug();
-
-
-if($url->incFile)
-{
- require_once($url->incFile);
-}
-
-
-require_once(FOOTERF); // in case of URL failure.
-?>
\ No newline at end of file