[Solved] redirection of www.mydomain.com to mydomain.com
[Solved] redirection of www.mydomain.com to mydomain.com
Hi.
My dedicated box is CentOS 6.3 (Final) Panel version 11.5.30 Update #45, last updated at May 22, 2014 03:27 AM
httpd 2.2.15-29.el6.centos
mod_bw 0.92-13051413
mod_perl 2.0.4-10.el6
mod_python 3.3.1-15.el6
mysql 5.5.37-1.el6.remi
php 5.4.28-1.el6.remi
PPSitebuilder 11.5.10-42107.13120413
psa 11.5.30-cos6.build115130819.13
psa-api-rpc 11.5.30-cos6.build115130819.13
psa-autoinstaller 3.15.15-130814.09
psa-backup-manager 11.5.30-cos6.build115130819.13
psa-horde 5.1.5-cos6.build115131216.11
psa-imp 6.1.6-cos6.build115131216.11
psa-logrotate 3.7-cos6.build110120606.19
psa-migration-manager 11.5.30-cos6.build115130819.13
psa-mod-fcgid-configurator 2.3.9-14012811
psa-proftpd 1.3.4c-cos6.build115130528.15
psa-qmail 1.03-cos6.build115130805.16
psa-qmail-rblsmtpd 0.88-cos6.build115130313.15
psa-spamassassin 11.5.30-cos6.build115130819.13
psa-turba 4.1.3-cos6.build115131216.11
I am a newbie to cmsms.
I inherited a website made in cmsms.
The site is redirecting: when you type "http://www.mydomain.com you are automatically redirected to mydomain.com
The redirection is NOT in a .htaccess
I could not find how to modify that in the CMS or the DB.
I would highly appreciate prompt help.
My dedicated box is CentOS 6.3 (Final) Panel version 11.5.30 Update #45, last updated at May 22, 2014 03:27 AM
httpd 2.2.15-29.el6.centos
mod_bw 0.92-13051413
mod_perl 2.0.4-10.el6
mod_python 3.3.1-15.el6
mysql 5.5.37-1.el6.remi
php 5.4.28-1.el6.remi
PPSitebuilder 11.5.10-42107.13120413
psa 11.5.30-cos6.build115130819.13
psa-api-rpc 11.5.30-cos6.build115130819.13
psa-autoinstaller 3.15.15-130814.09
psa-backup-manager 11.5.30-cos6.build115130819.13
psa-horde 5.1.5-cos6.build115131216.11
psa-imp 6.1.6-cos6.build115131216.11
psa-logrotate 3.7-cos6.build110120606.19
psa-migration-manager 11.5.30-cos6.build115130819.13
psa-mod-fcgid-configurator 2.3.9-14012811
psa-proftpd 1.3.4c-cos6.build115130528.15
psa-qmail 1.03-cos6.build115130805.16
psa-qmail-rblsmtpd 0.88-cos6.build115130313.15
psa-spamassassin 11.5.30-cos6.build115130819.13
psa-turba 4.1.3-cos6.build115131216.11
I am a newbie to cmsms.
I inherited a website made in cmsms.
The site is redirecting: when you type "http://www.mydomain.com you are automatically redirected to mydomain.com
The redirection is NOT in a .htaccess
I could not find how to modify that in the CMS or the DB.
I would highly appreciate prompt help.
Last edited by Arigato on Fri May 23, 2014 11:00 pm, edited 2 times in total.
Re: redirection of www.mydomain.com to mydomain.com
Thank you for approving my topic.
Let me ask you please:
how can the root_url and ssl_url be edited?
How can I edit the information I find under admin/systeminfo.php ?
Let me ask you please:
how can the root_url and ssl_url be edited?
How can I edit the information I find under admin/systeminfo.php ?
Re: redirection of www.mydomain.com to mydomain.com
Take a look at your /config.php file andArigato wrote:How can I edit the information I find under admin/systeminfo.php ?
http://docs.cmsmadesimple.org/configuration/config-file
Re: redirection of www.mydomain.com to mydomain.com
paulbaker wrote:Take a look at your /config.php file andArigato wrote:How can I edit the information I find under admin/systeminfo.php ?
http://docs.cmsmadesimple.org/configuration/config-file
Thank you again Paul. I looked at this
http://docs.cmsmadesimple.org/configuration/config-file
indeed, that is exactly how my config file is and as you see, it has nowhere any reference to the url of the cmsms
I really appreciate your help.
Re: redirection of www.mydomain.com to mydomain.com
Hard to say where that redirection is configured:
- web server config
- .htaccess
- page template
- global content blog
- worse: modified cmsms files
And what CMSMS version are we 'talking' about?
Please post your CMSMS system information
- web server config
- .htaccess
- page template
- global content blog
- worse: modified cmsms files
And what CMSMS version are we 'talking' about?
Please post your CMSMS system information
Re: redirection of www.mydomain.com to mydomain.com
Well this is a CMSMS issue either. CMSMS doesn't redirect from www to non www urls on it's own.Arigato wrote:The redirection is NOT in a .htaccess
I could not find how to modify that in the CMS or the DB.
So, if it isn't a .htaccess redirect you'll need to dig more.
Also you should post more info (as the admin system info already formatted to be pasted in the forum).
PS: well, Velden was faster than me.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: redirection of www.mydomain.com to mydomain.com
Thank you velden. I respect your time and the time of every person on this board. I hence did not ask here before I did all the research that I must do on my own.velden wrote:Hard to say where that redirection is configured:
- web server config
- .htaccess
- page template
- global content blog
- worse: modified cmsms files
And what CMSMS version are we 'talking' about?
Please post your CMSMS system information
1) web server config has no redirections whatsoever on my domain
2) .htaccess: rewrite rule is commented out with a #
3) page template: 2 templates, I searched well in both, and no redirections.
4) global content blog. Where and how do I check?
5) cmsms files, I searched extensively but could not find anything.
Thank you Velden for your time and effort. I appreciate this.
Re: redirection of www.mydomain.com to mydomain.com
Thank you Jo. I appreciate your help.Jo Morg wrote:Well this is a CMSMS issue either. CMSMS doesn't redirect from www to non www urls on it's own.Arigato wrote:The redirection is NOT in a .htaccess
I could not find how to modify that in the CMS or the DB.
So, if it isn't a .htaccess redirect you'll need to dig more.
Also you should post more info (as the admin system info already formatted to be pasted in the forum).
PS: well, Velden was faster than me.
I am sure you meant this is "NOT" a cmsms issue either.
I did not say this is an issue. I realize this could have been actually the wish of the person who installed the cmsms and configured it so. I am not accusing the cmsms of anything. I am just trying to find out how to remove that redirection.
I am trying to dig more, and I only came here to ask after having on my own done all the possible research both on Google and here on the forums, then searched all the files of the CMSMS, searched all the DB and examined carefully config file.
I really appreciate all the great help I am receiving here.
I pay $100's for another product and I don't get half the great support I am getting here.
Re: redirection of www.mydomain.com to mydomain.com
Shame on me I omitted this:velden wrote:
And what CMSMS version are we 'talking' about?
Please post your CMSMS system information
CMS Install Information
CMS Version 1.11.10
Installed Modules
CMSMailer 5.2.2
CMSPrinting 1.0.5
FileManager 1.4.4
MenuManager 1.8.6
MicroTiny 1.2.6
ModuleManager 1.5.5
News 2.14.2
Search 1.7.11
ThemeManager 1.1.8
CGExtensions 1.38.1
SiteMapMadeSimple 1.2.7
CMS Config Settings
php_memory_limit 99M
process_whole_template
max_upload_size 128000000
url_rewriting mod_rewrite
page_extension .php
query_var page
image_manipulation_prog GD
auto_alias_content true
locale
default_encoding utf-8
admin_encoding utf-8
set_names true
debug false
set_names true
set_names
root_url http://mydomain.com
ssl_url https://mydomain.com
root_path Success /var/www/vhosts/mydomain.com/httpdocs (0755)
previews_path Success /var/www/vhosts/mydomain.com/httpdocs/tmp/cache (0777)
uploads_path Success /var/www/vhosts/mydomain.com/httpdocs/uploads (0777)
uploads_url http://mydomain.com/uploads
image_uploads_path Success /var/www/vhosts/mydomain.com/httpdocs/uploads/images (0777)
image_uploads_url http://mydomain.com/uploads/images
ssl_uploads_url https://mydomain.com/uploads
use_smarty_php_tags
PHP Information
Current PHP Version (phpversion) Success 5.4.28
md5 function (md5_function) Success On (True)
GD version (gd_version) Success 2
tempnam function (tempnam_function) Success On (True)
Magic quotes in runtime (magic_quotes_runtime) Success Off (False)
Is E_STRICT disabled in error_reporting (E_STRICT) Caution E_STRICT is enabled in the error_reporting
Is E_DEPRECATED disabled in error_reporting (E_DEPRECATED) Success
PHP Effective Memory Limit (memory_limit) Success 99M
Maximum Execution Time (max_execution_time) Success 60
PHP output_buffering (output_buffering) Success 4096
PHP Safe Mode (safe_mode) Success Off (False)
File uploads (file_uploads) Success On (True)
Maximum Post Size (post_max_size) Caution 8M ?
Maximum Upload Size (upload_max_filesize) Success 128M
Session Save Path (session_save_path) Caution No check because open basedir active ?
Sessions are allowed to use Cookies (session_use_cookies) Success On (True)
Basic XML (expat) support (xml_function) Success On (True)
Checking for the XMLReader class (xmlreader_class) Success On (True)
Checking if the httpd process can create a file inside of a directory it created (create_dir_and_file) Success
PHP register_globals (register_globals) Success Off (False)
disable_functions in PHP (disable_functions) Success
PHP Open Basedir (open_basedir) Caution /var/www/vhosts/mydomain.com/:/tmp/ ?
Test for remote URL (test_remote_url) Success
fsockopen: Connection ok! Success
fopen: Connection ok! Success
Test ini_set (check_ini_set) Success On (True)
Test for the curl library (curl) Success On
Test curl version (curlversion) Success version 7.19.7, minimum recommended version is 7.19.7
Server Information
Server API (server_api) cgi-fcgi
Server Database (server_db_type) mysql (mysqli)
Server Database Version (server_db_version) Success 5.5.37
Check database access levels (server_db_grants) Success found a "grant all" statement that appears to be suitable
Check for filesystem time differences (server_time_diff) Success no filesystem time difference found
Server Software (server_software) apache
Server Operating System (server_os) linux 2.6.32-279.5.2.el6.x86_64 on x86_64
Timezone Offset (tz_offset) Success 0
Permission Information
tmp Success /var/www/vhosts/mydomain.com/httpdocs/tmp (0777)
templates_c Success /var/www/vhosts/mydomain.com/httpdocs/tmp/templates_c (0777)
modules Success /var/www/vhosts/mydomain.com/httpdocs/modules (0755)
File Creation Mask (umask) Success /var/www/vhosts/mydomain.com/httpdocs/tmp/cache (0777)
config_file Failure 0644
config.php writable. It is more safe if you change permission to read-only
Note to moderator: I did check "Do not automatically parse URLs". I hope this is enough.
Re: redirection of www.mydomain.com to mydomain.com
Following up on what Velden posted:
It's a long shot but search User Defined Tags (UDT's) too for some some kind of php redirection.velden wrote:- page template
- global content blog
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: redirection of www.mydomain.com to mydomain.com
Jo Morg wrote:Following up on what Velden posted:It's a long shot but search User Defined Tags (UDT's) too for some some kind of php redirection.velden wrote:- page template
- global content blog
Thank you Jo. I looked in each of those and did not find anything related to redirecting:
User Defined Tags
boxes_home
get_root_page_alias
jquery_caching_file
menuaccess
sitename_switcher
virtual_analytics
Re: redirection of www.mydomain.com to mydomain.com
Meta refresh tag perhaps?
http://www.metatags.info/meta_http_equiv_refresh
URL may help (you can always edit it out of the post later).
http://www.metatags.info/meta_http_equiv_refresh
URL may help (you can always edit it out of the post later).
Re: redirection of www.mydomain.com to mydomain.com
I would like to thank everyone for their help.
This is fixed now and CMSMS was not responsible at all of the redirection ....... In fact, finally, it was set on the registrar level.......
This is fixed now and CMSMS was not responsible at all of the redirection ....... In fact, finally, it was set on the registrar level.......