bill7473
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 2 codes Google AnalyticsGo to Appearance > Editor then open Theme Header Underneath </head> at star of <body> you should see PHP code like this only it will have php tags rather than “NOTPHP tags
Where it says YOUR GOOGLE ANALYTICS PROPERTY it will have that reference. You may have this code twice. You want to keep your own and delete the on belonging to the site developers.
Save a copy of the file before you edit it.<?NOTPHP
add_action(‘wp_footer’, ‘axxxxdd_googleanalytics’);
function add_googlexxxxxxanalytics() { ?>
<scrxxxxxxipt>
(function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,’script’,’//xxx.googlexxxxxanalyticsxxxxcom/analytics.js’,’ga’);ga(‘create’, ‘<
-
YOUR GOOGLE ANALYTICS PROPERTY REFERENCE
‘, ‘auto’);
ga(‘send’, ‘pageview’);</scrxxxxipt><NOTPHP } >
Forum: Fixing WordPress
In reply to: Subscriber passwords hackedOK. That makes sense. I don’t really like to be proscriptive in case I put anyone off. They tend to choose names of people,places or football teams and append a couple of digits. Probably what most people who don’t know better would do.
Thanks againForum: Fixing WordPress
In reply to: Are most plugins compatible with PHP 5.5?I’m with GoDaddy. Just had a rummage about and succeeded in upgrading first to 5.5, then to 5.6 and cannot see a problem, not even the slowness I complained about earlier. I’ll ask GoDaddy about 7
Thanks
Forum: Fixing WordPress
In reply to: Are most plugins compatible with PHP 5.5?OK, Thanks Steve. I’ll have another look at upgrading my php version. Though my host (surprisingly) does not offer 7 at first look.
Forum: Fixing WordPress
In reply to: Are most plugins compatible with PHP 5.5?I’ve been wondering about this too. Currently use 5.4. I changed to 5.6 and everything seemed to run way slower. So I switched back pronto. Is there any reason why I shouldn’t stick with 5.4 for the time being.
Forum: Fixing WordPress
In reply to: Uploading ImagesForum: Fixing WordPress
In reply to: Uploading ImagesIt should look similar to this
My path is slightly different to the default for another reason.
If you don’t have the ability to specify the uploads folder like this, then I don’t know why not.
- This reply was modified 8 years, 2 months ago by bill7473.
Forum: Fixing WordPress
In reply to: Uploading ImagesGo to “Settings” in the left hand column of your wp-admin page. Select “Media”. You should then have the “Media Settings” page. First there are “Image Sizes”. Below that it should show a section titled “Uploading Files”. Here you should see “Store uploads in this folder” with a box. In this box it probably should have entered ” your home directory whatever that is/public_html/wp-content/uploads ” Check that this is what is entered here. Underneath that you can optionally add the “Full URL path to files though you can leave it blank. If you complete it it should be “https://yoursite.com/wp-content/uploads” Then if you check the box “Organise my uploads into month- and year-based folders”, WordPress ought to create a folder based on the month to upload your files to.
Forum: Fixing WordPress
In reply to: php script execution time, downloads timing outThank you Mark and Rajesh for your replies. I’m astonished that 2 months have passed since I posted this. With Godaddy shared hosting it isn’t possible to directly access the php.ini file. However via C Panel > Software > Select PHP version > Switch to PHP options you can enter a value for max_execution_time.
I wasn’t able however to solve my problem so I resorted, until I find a better solution, to putting the zip files in a folder below public_html and providing direct links, which isn’t very secure but does at least work. I limited access to the folder so no one can list its contents and gave the zips long obscure alpha-numeric file names so they can’t be easily guessed.
Anyway I wanted to thank you for your advice and also, in case anyone else needs to search for the php.ini file with a Godaddy hosted site. That’s where it is. I had to call em to find out.