Missed the deadline to vote? Don't worry.

David Cameron has said that peole can continue to register to vote after an online glitch, ahead of the EU referendum registration deadline.

The prime minister published a link on Twitter to the signup pag, stating that urgent discussions were taking place to ensure eligible people can vote.

The Electoral Commission asked for the registration deadline to be extended.

The online issues are reported to have lasted from 10:15pm on Tuesday, until after the midnight deadline.

Users said a page displaying the message "504 Gateway Time-out", instead of what was supposed to be the online registration form.

Supposedly, the problems stemmed from too many people trying to use the site at once.

As reported on the BBC, in a statement, the commission said it was "vital" everyone who wants to vote on June 23 is able to do so, with a "very significant increase" in online applications on Tuesday.

It added: "There will be many people who wanted to register to vote last night and were not able to.

"The registration deadline is set out in legislation and we have said to the government this morning they should consider options for introducing legislation as soon as possible that would extend the deadline.

"We would support such a change."

The Cabinet Office said: "We are urgently considering what the options are for those who were unable to register to vote last night."

Labour leader Jeremy Corbyn and the SNP's Westminster leader Angus Robertson also called for the deadline to be extended.

Mr Robertson said it "must be" extended because "nobody should be denied their vote," according to the BBC.

A Cabinet Office spokesman said: "We became aware of technical issues on [the registration website] late on Tuesday night due to unprecedented demand.

"Some people did manage to get through and their applications were processed. We tried to resolve the situation as quickly as was possible and to resolve cases where people tried to register but were not able to."

Who is eligible to vote in the EU referendum?

British or Irish citizens living in the UK who are 18 or over

Citizens of Commonwealth countries who are 18 or over and who have leave to remain in the UK

British citizens living overseas who have been registered to vote in the UK in the last 15 years

Irish citizens born in Northern Ireland now living overseas

Irish citizens living overseas who have been registered to vote in Northern Ireland in the past 15 years

The number of applications does not necessarily equate to the number of people being registered, as some may come from people who are already signed up to vote.

To register, visit https://www.eureferendum.gov.uk/register-to-vote/