Google Sites external link - google-sites

I am trying to add a simple link to text in google site.
For some unknown reason, it doesn't seem to be working.
<p>my link</p>
When I click on it I see the error:
The requested URL /embeds/16cb204cf3a9d4d223a0a3fd8b0eec5d/www.google.com was not found on this server. That’s all we know
Any idea what is causing this error? I am aware I can just use google's insert link graphical interface, but I am trying to understand why is coding not working.

Your code is is bit incorrect, have you tried out this.
<p>My url

Related

Google couldn't fetch my sitemap.xml file

I've got a small flask site for my old wow guild and I have been unsuccessful in getting google to read my sitemap.xml file. I was able to successful verify my site using googles Search Console and it seems to crawl it just fine but when I go to submit my sitemap, it lists the status as "Couldn't fetch". When I click on that for more info all it says is "Sitemap could not be read" (not helpful)
I originally used a sitemap generator website (forgot which one) to create the file and then added it to my route file like this:
#main.route('/sitemap.xml')
def static_from_root():
return send_from_directory(app.static_folder, request.path[1:])
If I navigated to www.mysite.us/sitemap.xml it would display the expected results but google was unable to fetch it.
I then changed things around and started using flask-sitemap to generate it like this:
#ext.register_generator
def index():
yield 'main.index', {}
This also works fine when I navigate directly to the file but google again does not like this.
I'm at a loss. There doesn't seem to but any way to get help from google on this and so far my interweb searches aren't turning up anything helpful.
For reference, here is the current sitemap link: www.renewedhope.us/sitemap.xml
I finally got it figured out. This seems to go against what google was advising but I submitted the sitemap as http://renewedhope.us/sitemap.xml and that finally worked.
From their documentation:
Use consistent, fully-qualified URLs. Google will crawl your URLs
exactly as listed. For instance, if your site is at
https://www.example.com/, don't specify a URL as https://example.com/
(missing www) or ./mypage.html (a relative URL).
I think that only applies to the sitemap document itself.
When submitting the sitemap to google, I tried...
http://www.renewedhope.us/sitemap.xml
https://www.renewedhope.us/sitemap.xml
https://renewedhope.us/sitemap.xml
The only format that they were able to fetch the sitemap from was:
http://renewedhope.us/sitemap.xml
Hope this information might help someone else facing the same issue :)
put this tag in your robots.txt file Sitemap: domainname.com/sitemap.xml. Hope this will be helpful.

How does the browser know the correct URL path?

Sorry for the basic question, but couldn't find a similar answer.
If I write this link: click me.
On my HTML page, and host that page at google.com - When I navigate to that page the link will automagically link to google.com/about.
My question is, how does it do that? Does the browser just know the internal link from the page you are currently on? Is it the server calculating the links? How does it know to add the google.com?
I'm building a web crawler that finds links on a site (including these internal links), and not sure if I can just add in the google.com or if browsers work out internal links a different way.

Unable to link to an external url (Bolt cms)

I'm using Bolt CMS and I'm trying to create a link to an external website.
So I'm getting a record from a contenttype (this works), but when I try to link to this record using a href, my domain is added in the url.
Whatever I do, I'm unable to link to an external website.
Link
links to "mydomain.com/www.externalurl.com", while I just want to be directed to www.externalurl.com.
I'm expecting the solution to be very simple, but so far I haven't found the answer...
Thank you for your help!
try
Link
it should work as long as you don't have 'http://' in record.contentlink

Can't verify my domain with Google Apps

I am trying to verify my domain with Google Apps to no success.
So far, I have tried 3 main methods of verification:
TXT (or CNAME) record.
Meta tag with verification code.
HTML file with verification code name and content.
My domain is http://michaelpumo.com
No matter which form of validation I follow, Google Apps says it cannot verify it. I am all out of ideas.
The HTML file on the server is here:
http://michaelpumo.com/google56f498ff499c68bc.html
The meta tag is viewable in the page source at the top in the head:
<meta name="google-site-verification" content="3scjFuAQJfrnce34RE6TkwF21NlAnWk7VUwXi86bRs8">
My DNS records look something like:
I have used dig, ping and other commands to verify DNS. I have also requested for Google to clear its DNS cache, as well as clear my own local caches etc. No luck.
Any pointers on something I might be doing wrong?
For anyone wondering, I hadn't done anything wrong with the setup. For some reason it just wasn't working. I got on the phone to Google and they fixed it up for me within a few minutes.
I would recommend getting on the phone if you have similar issues.

html base tag with different domain from the top domain gives security issue

I've a website which displays and edits the contents of a different web pages like adding css codes to them.
It works like this, i use curl to get the contents of webpages then i edit the content and add base tag with href attribute which points the url that i got the contents of it. Then i put the edited content to an iframe on my website. It was working for a year, but yesterday i noticed an error that google chrome shows me the security warning page.
I've tried so many things to fix this problem but i couldn't fix it. when i use the base tag with different domain from the top domain, it shows the warning page. Do u have any idea how can a pass this problem. I have to use base tag with a different domain from the base tag.
It looks that was google side error :D We contact with them and the problem is fixed :)

Resources