I've a client who have an website created with Wix. And we work together to implement a qrcode link who redirect on a file in the website. It's for restaurant menus.
But we have a problem, when he make an uppgrade of the file, Wix generate a new link for the file and this breaks my redirection by qrcode.
How it's possible to create a same link with the same name for all uppgrade of the file ?
Related
I'm having an issue with uploading my website to GitHub pages. I am a beginner and have just made my first website that uses several html files. I have created a repository for this website. The website contains index.html, and 2 other html files. When I first open the website through GitHub Pages it appears to be fine, however if I click on a link on the website which takes me to the main page (the main page being index.html) it opens up a completely different website from my other repository. I realised this is because it uses the same url (username.github.io/index.html) as my other repository. Since both of these are the same I guess it just opens up my other website because it was created earlier.
This is my first issue. I also have another issue. My other 2 html files have a unique html file name, but when I open the link for them I get a 404 error:
"The site configured at this address does not contain the requested file."
From what I understand, a GitHub Pages URL would look like this:
username.github.io/repository name/html file name.
My website looks fine when I open it with this URL:
username.github.io/repository name
However, when I click on any link on the website the URL loses it's repository name and changes into:
username.github.io/html file name which brings up a 404 error.
I don't understand why it does that.
The URLs in your links start with /, which points at the root of the domain.
Don't do that.
This may be asked before but I couldn't find any answer which is directly related to my question.
I have a web site using wordpress theme. I want to insert an external html file to the site but I couldn't find anyway to do that.
Note: Just copying the html code doesn't work. The external html file is an R Markdown document created in RStudio. So I must find a way to directly upload it.
You should create a page and paste there your html code
Create a page on the wordpress dashboard (i.e example)
The default appearance of the pages is generated by page.php file located in /wp-contents/themes/YOUR THEME/ folder. Create a php file page-example.php in this folder and paste your html code
When you'll go to this page you'll see the htm code
You have to use Custom Page Template where you can add your own HTML code. After that you just have to choose your page template while creating a page.
Take a look this link to read more about custom page templates.
I want to make a single page HTML site. I have made the template, but I wanted to know how to make it go live on my hosting.
I have tried many things but none of them work, I don't want to use any CMS, just a plain and simple HTML site. I have both a domain and hosting.
If as "template" you mean HTML file than you should name your file as index.html and upload it via FTP to the work directory of your hosting server.
Currently, I have an html file which has a basic layout of a login page which has an option for new users to sign up if they're not a member.
I have the following line inside of my html :
Join Us!
What I want to have happen is load up a new HTML page which will be a modal (using twitter bootstrap) that will ask the user to input the correct data to create a login/pass combination.
But this isn't working. It keeps doing the following (doesn't do anything) :
http://localhost:3000/register.html
I'm a little confused whether my HTML is wrong or MeteorJS requires some sort of specific way to do something like this.
You can use a relative url: Example: register.html only
If your file is into the same project, you don't need to put him an url absolute.
Put your register.html file in your project's /public directory and you will be able to access it via /register.html. However that page will run outside your Meteor app and won't have any Meteor functionality per se.
The /public folder maps to / and is normally used for images and other client-side assets. It's common to map /public/images to /images for example.
I am new to html5 and am currently working with the example on the web page listed below:
http://www.mobilehtml5.com/post/371921120/tutorial-your-first-mobile-html5-app-the-basics
To host the html page, I chose to use Google Drive as I already use it for other documents. To set it up, I followed the instructions on this page:
https://support.google.com/drive/answer/2881970?hl=en
I created a new folder under my google drive called 'New Folder' and set the permissions to 'Public on the web'. I created a file called 'index.html' on my local hard drive and put the example html code into it, then uploaded that file into my google drive under 'New Folder'.
The problem:
The page # support.google.com says that to view the html page, one must click on 'preview'. However, when I do that, all I get to see is my code, not the rendered page. Also, the google support page says there is a URL like googledrive.com/host/... but my URL is different. When I click on my index.html file it shows the code and the URL is https://drive.google.com/?tab=wo&authuser=0#folders/....
Please help. I found the google support page very high level.
Cheers
1) Go to your "Public on the web folder"
2) The url should look something like: drive.google.com/?tab=mo&authuser=0#folders/xx_xxxxxxxxxxxxxxxxxxxxxxxxx
3) Instead of the "xx_xxxxxxxxxxxxxxxxxxxxxxxxx" you should have a folder ID (it'll be random letters and numbers)
4) Replace the "xx_xxxxxxxxxxxxxxxxxxxxxxxxx" in the following link with the folder ID from step 3)
googledrive.com/host/xx_xxxxxxxxxxxxxxxxxxxxxxxxx/myHTMLFile.html
5) There's one last step. Replace the "myHTMLFile.html" at the end of this step with the name of your html file name.
See more in picture
https://www.facebook.com/posteryucom/photos/a.503819206368192.1073741827.124941240922659/704847832931994/?type=3&theater
https://www.facebook.com/posteryucom/photos/a.503819206368192.1073741827.124941240922659/704843842932393/?type=3&theater