ee_sa,
I’d suggest getting this working without URL rewriting first, as we cannot support that.
OK, I removed everything, and now I have “mobile” in every link that is created from EE.
Here is my path.php file:
// ------------------------------------------------------
// DO NOT ALTER THIS FILE UNLESS YOU HAVE A REASON TO
// ------------------------------------------------------
// Path to the directory containing your backend files
$system_path = "../system/";
// ------------------------------------------------------
// MANUALLY CONFIGURABLE VARIABLES
// See user guide for more information
// ------------------------------------------------------
$template_group = "mobile";
$template = "index";
$site_url = "http://m.domain.com/";
$site_index = "";
$site_404 = "";
$global_vars = array(); // This array must be associative
So, paging creates links like:
// Home page paging
<a href="http://m.domain.com/mobile/P20">http://m.domain.com/mobile/P20</a>
// Comment form
<form id='comment_form' method="post" action="http://m.domain.com/mobile/entry/url_title/" >
As I’m going far, I’m discovering new troubles with links generated from EE on subdomain.
Please, I cant finish this one with this problems :(
Thanks