Very Strange…
I have noticed that if I go directly to http://realpatidar.com/library the table plugin does not work for me.
But strangely, if I click on the “Free Online Library” menu on the top, (this link opens the same page), the table plugin works like a charm.
I am sure there is something very minor, which is creating this problem.
I am new to html. Please suggest possible solution.
Thanks in advance
Real Patidar
I have noticed something more.
By clicking the “Free Online Library” menu on my website, the address bar displays “http://www.realpatidar.com/libary” (please note “www”). Here I do not have any problem with the tables.
Where as direct link http://realpatidar.com/library (here “wwww” is missing) does not work.
Real Patidar
Hi,
yes, the reason for this is the missing www. in the URL. The technical details on this are that JavaScript can not load a file from a different domain (which www. and non-www are).
This means that you should decide on what you want to use for your site, either realpatidar.com or http://www.realpatidar.com. After that, you will just have to configure these domains correctly in the “Settings” menu of WordPress.
Regards,
Tobias
I have always wanted and accordingly configured http://www.realpatidar.com in the WordPress URL settings of WordPress. I guess there is no other place to make such settungs. Further from what I have noticed is that if one types the non-www website name i.e., http://realpatidar.com, even then the URL opens the pages properly. The browser does not add the missing “www”, to the URL.
I am not a technical guy. Hence do not know how to fix this. I am sure many others out there are like me. If I can suggest, can JavaScript have an exception of running from either of the two domains one with www and other with non-www.
Thanks,
Real Patidar
Hi,
have you configured both “Site URL” and “WordPress URL” to the domain with www? From what I know, this should then also force requests to the non-www site to go to the www site. If that is not the case, you could try adding some commands to achieve this to your .htaccess file, see for example http://billing.handsonwebhosting.com/knowledgebase.php?action=displayarticle&id=132
About your suggestion on JavaScript: That’s not possible unfortunately, as this is a standard in the JavaScript programming language and would have to be changed by the developers of all browsers that there are. This is not going to happen though, as the reason for this behavior is security related.
Regards,
Tobias
I have configured both the URLs in the same way as you have mentioned .
I will try your suggestion about redirecting.
Hi,
yes, that will be the best then in this case.
Regards,
Tobias
Hi Real,
awesome! That is good to hear! Thanks for the confirmation!
Regards,
Tobias