Ask the Question Forum Index Ask the Question
FREE question and answer forums in a variety of subjects
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HTML code

 
Post new topic   Reply to topic    Ask the Question Forum Index -> General Computer Questions
Author Message
bandydai



Joined: 27 Feb 2007
Posts: 60
Location: South Wales

PostPosted: Tue Jul 01, 2008 7:11 am    Post subject: HTML code Reply with quote

Hi Nick, How are you keeping?
I now have a website and I want to activate Google search engine and Adsense.
I get HTML codes from Google to put into my site but I aint got a clue how.
I try using Front Page but I seem unable to edit anything on the URL.
Google says to Copy/Paste the code between Head and Meta,
I do this but I am afraid to save and publish in case the site is completely blxd up!
I log into the Admin side to get the URL.
Any advice will be greatly appreciated. Laymans terms would also be appreciated
Thanks in anticipation. Dai Shocked
Back to top
NickAskew
Moderator


Joined: 03 Nov 2006
Posts: 112
Location: Thirsk

PostPosted: Fri Jul 04, 2008 11:44 pm    Post subject: Reply with quote

Hi Dai,
I'm fine thanks (and busy with work!)
If you right click this page and choose to 'view source' you can see the following two lines near the top of the page:

Code:
<head>
<meta http-equiv="Content-Type" content="text/html;..


When using frontpage, you can choose to view the code rather than a WYSIWYG representation, when viewing code you should search for the <head> and <meta> tags and paste the code supplied by google between them, example:

Code:
<head>
<adsense-code-goes-here tag="random tag data"...
<meta http-equiv="Content-Type" content="text/html;..


If your page stops displaying correctly it is easy to remove the code snippet if you put it in yourself as it will be obvious where it is Smile
Cheers, Nick
Back to top
bandydai



Joined: 27 Feb 2007
Posts: 60
Location: South Wales

PostPosted: Sat Jul 05, 2008 6:37 am    Post subject: HTML code Reply with quote

HI Nick, thank you for the reply. when you say 'View source' what page should I be on, the website in general or admin, because if its the website page in general, then that would mean that anyone can edit the page and damage a lot of websites if they are that way inclined.
Also. how do I get the URL into Front page to edit. To top it all , I now have two websites, Can I mention them on here? and I would like Google and Adsense on both. [just to get a bit of lolly indabank]
The reason for the sites is retirement, Me and Sue need an income when we sell up, so if we can get these two sites up and running while we have an income, then we know we can retire with no worries.
sudacs-emporium.net sudacs-emporium.com

take a look. see what you think....Cheers mate....Dai Rolling Eyes Rolling Eyes Wink
Back to top
AlanE
Moderator


Joined: 29 Jun 2003
Posts: 1343
Location: Colchester Essex

PostPosted: Sun Jul 06, 2008 7:46 am    Post subject: Reply with quote

Good looking sites.

At the moment they work ok but you are thinking of adding extra code to pages. Probably the best tip anyone can give is to compleatly download a copy of you site to local computer so that you have a copy.

Modify a page at a time but BEFORE uploading this modified page RENAME the original on the server. (I simply add an '#' to the start of the filename on my sites.) Now upload your modified page and TEST IT fully. If it works ok then fine delete the old, renamed, version. If however there are problems delete the new file and rename back the original. Site is back working as before with the minimum of disruption.

This is how I work with themanualslibrary.co.uk because with paid members it is continually being updated but I cannot afford any downtime due to any silly coding errors. Incidently apart from the actual login script the entire site has been written by me.

'View Source' option is available on the majority of sites written in html, php (which mine is) etc, if you right click on the page and select 'View Source' from the options. This then displays the page in notepad. You can change the code in anyway you like in notepad but you CANNOT alter the actual web page with this method.

Looking at the actual source code on your page it certainly doesn't appear to be written using Frontpage and therefore I would suggest you leave the site modifications well away from Frontpage. Web pages constructed using Frontpage produce code that is 'different'. Same as those produced using Word. The html is considered 'dirty'

You would be better downloading a proper web page program, I currently use Dreamweaver or even plain text programs, but there are several available. Just avoid Frontpage.

Another reason for avoiding Frontpage is for sites using it to work properly the server needs 'Frontpage Extensions' switched on. Turn them off at a later date and MAJOR problems can result to .htaccess etc, files that your shopping cart might rely on!!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Ask the Question Forum Index -> General Computer Questions All times are GMT - 1 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group
Bad Credit Mortgages | Auto Loans | Best Credit Cards | Mortgage Calculator | The eBay Song