Mar
9
awarded Yearling
Oct
14
awarded Informed
Apr
5
awarded Supporter
Feb
23
accepted htaccess showing main site instead of subfolder on multi-language site
Feb
23
comment htaccess showing main site instead of subfolder on multi-language site
That was it :-) Keeping RewriteBase /promo/ and removing the starting slash from promo-select.php has fixed it, thanks a lot.
Feb
23
comment htaccess showing main site instead of subfolder on multi-language site
With that in place, clearing cache and accessing it, it shows the home page of the root site. It seems to be ignoring the 'promo' part.
Feb
23
comment htaccess showing main site instead of subfolder on multi-language site
Thanks, I've tried adding this to the htaccess file in the subfolder, but it makes no difference. I should have said I have 2 htaccess files, 1 in the root and 1 in the subfolder. I want to keep the existing site up and running at it's current address, and add a duplicate site in the subfolder.
Feb
23
revised htaccess showing main site instead of subfolder on multi-language site
adding update for clarification
Feb
23
comment htaccess showing main site instead of subfolder on multi-language site
I've currently got it working as promo.example.com/gb/en but this isn't ideal as it's not going through the SSL.
Feb
23
asked htaccess showing main site instead of subfolder on multi-language site
Jan
19
revised Intensive PHP script failing w/ "The timeout specified has expired" error / ap_content_length_filter
adding formatting
Jan
19
revised mysql_data_seek error in ff and chrome, but works in ie
adding formatting
Jan
19
revised Speed Up MySQL (MyISAM) COUNTs with WHERE Clauses
spelling and formatting
Jan
19
revised issue with mysql query, bad coding?
added formatting
Jan
19
revised Sending email with gmail smtp with codeigniter email library
adding formatting
Jan
19
awarded Civic Duty
Jan
19
revised Sending email with gmail smtp with codeigniter email library
adding formatting
Jan
19
revised PHP REGEX: space & line break in paramters (custom tags)
adding formatting
Jan
19
comment Best query for three textboxes in php and MySQL?
Sorry, just noticed too, you are missing the quotes around the escaped values, AND firstName = ' should be AND firstName = "'
Jan
19
comment Best query for three textboxes in php and MySQL?
mysql_escape_string is deprecated in PHP 5.3.0 - php.net/manual/en/function.mysql-escape-string.php
1 2 3 4 5