Create a HTML project in GitLab - html

I am trying to host a static web page in gitlab. But the problem is that the main page appears in a url like this:
https://anycustomname.gitlab.io/tutorials/
But I don't want the /tutorials/ at the end of the URL.
I want people to visit my website by entering the following:
https://anycustomname.gitlab.io
And not this:
https://anycustomname.gitlab.io/tutorials
I know it is possible.
I just don't know how to configure this.
Google and YouTube were not much of a help.
Thanks

This is covered in the documentation.
You need to name your project anycustomname.gitlab.io instead of tutorials.

Related

Add html to a site in a site (proxy)

I imported a web proxy from github known as rhodium on to replit, and, after some editing was satisfied with the results, but i cant seem to add HTML to a site that is proxied. Example: You use rhodium to navigate your way to www.discord.com, but you want HTML added to the page, "yourdomain.example/service/https://discord.com/". I looked at the files and online, but I wasn't able to find a way to edit the index.html of that specific page, but frankly I am extremely new to html. (and to a lot of things web-development).
https://github.com/LudicrousDevelopment/Rhodium
Any help available?
Based on what i know, you can't. Because of the security parameters. You can't attach or redirect a website which isn't on the same directory/server.
You can, however redirect to that site, inside or outside, freely.

How to create Click To Call Link WITHOUT html

I am building 360 Virtual Tour website page using software. I want to setup click-to-call using URL links, WITHOUT "tel:". Normally we would use -> a href="tel:6281234567890" HTML code. But the software requires a proper link to start with "http://" or "https://", so the software rejected "tel:" link.
Research online so far only came up with "how to build click to call link using HTML". I want to build click to call link WITHOUT HTML.
Seems like a common requirements, but nobody is talking enough about it. So, Possible?
Found another Wordpress URL Shortener plugin that asks for "http" based link too, and they do not accept "tel:" link. Any recommendations that can do this will be deeply appreciated.
Try :
javascript:window.open('tel:6281234567890')

Google analytics for different .html files in the same domain

Let's say that my website is www.myWebsite.com.
I have set up google analytics in index.html file properly and I get all the statistics fine in my dashboard.
Now my website has also got other html files, in the folder: www.myWebsite.com/folder/file1.html and www.myWebsite.com/folder/file2.html.
I want to track these pages too, and get how many view each page has.
In order to do this, do I have to use the same scripting code from analytics that I got for www.myWebsite.com ? And should the dashboard appear each page's views separately? Or do I have to set up different code for these pages?
I hope that I explained my problem well. Thank you in advance :)
Yes, you need to include the Analytics tracking code into the source code on every page you wish to track. This means including it in index.html and file1.html etc.
You can find more info in the Google Analytics help page.
You have to include generated code in every page that you wish to track.

There is a configuration for Disqus scripts?

I would like to be able to use Disqus script only as a input to comments.
For SEO I am getting the messages from Disqus API and loading together with my webpage. Now I would like to be able to set Disqus script in a way it displays only the area for new comments input.
Does anybody know if that is possible? Or where I can find a documentation with all parameters I can set to the script.
I already thought in hide that using CSS, but I would like to do it properly using the tool.
I appreciate any comment or idea.
I think API Bindings can help you.
https://help.disqus.com/customer/portal/articles/472115-libraries

How to embed/integrate WordPress blog into my own web site?

I have a WordPress blog account already (abc.wordpress.com). And I have my own web site: www.xyz.com
I would like to integrate my WordPress blog content into my own site. Hopefully something like blog.xyz.com or just replace the home page of xyz.com with abc.wordpress.com
I know that I can download WordPress' code from wordpress.org and run my own WordPress. And having my own MySQL database, but WordPress is always releasing new code. I don't have the time to keep updating the source on my end to match it.
I'm running my own site as a hobby, so I prefer to let WordPress.com to manage the content for me and continue reuse my own blog at abc.wordpress.com, but make the content show up in my own site: xyz.com
I hope I was clear when explaining this.
Anyone knows a way to do this?
Thanks.
If your main worry is about the updates, I would say don't be. A simple click of the 'Updates' button in the wordpress admin is all you need to do in order to apply the updates for wordpress. A notification will pop up alerting you of any updates.
And as Calle has already mentioned, you can retrieve your content via RSS, or you could just export your current content from Wordpress.com, import the content into your own site, and manage it there. Everything would be in one spot.
Good Luck.
I don't know how good you are with programming but there's a PHP library called Simple Pie which would help you retrieve your content via RSS (which Wordpress automatically generates for you). The adress is here: http://simplepie.org/
If you are not very good with programming, perhaps you can get someone to do it for you or find a script which is already written somewhere. I do think RSS is definitely the best way to go.
I also think you exaggerate the problems of hosting Wordpress yourself. It's not something that you have to keep updated with, and if you want to, all you have to do is log in from time to time, perhaps once a month (how often are you writing articles?), and click "update" and Wordpress will do everything for you. Both for your plugins and WP version.
For the ability to use your own domain (xyz.com) and have wordpress redirect users from abc.wordpress.com(your wordpress blog) to your domain requires a premium account.
If you have a premium account then you can just log in to wordpress.com, click 'upgrades' and select 'domains'. From there you will see the option "Map an Existing Domain" and you will want to enter your domain here. Now your wordpress.com blog is what will show when users enter your domain's url (xyz.com).
Alternatively, if you need a workaround with a free wordpress.com account then you want to just embed your blog and for that you will need to use an RSS feed. Note: this method will not maintain your wordpress styles it will merely transport the content. Also by default not all browsers support RSS feeds.
You can view your blog's current feed by adding 'feed' to the end of your wordpress.com url, i.e. abc.wordpress.com/feed. You can read more about feeds here (http://en.support.wordpress.com/feeds/). Now you are just left with the task of figuring out how to embed the feed into your page.
One final hail-mary you might attempt is just redirecting your domain to your blog. Reference on how to do this different ways here: (http://css-tricks.com/redirect-web-page/). Example, place this tag in the section of your domains pages:
<meta http-equiv="refresh" content="0; URL='http://google.com'" />
(this will redirect after 0 seconds to the specified url)