I'm trying to find what the formula is for the number of possible variations to this puzzle. I know that there is only one answer (or 4, when taking into account the variations when the grid is flipped on either axis). Does a formula exist to describe the number of combinations/permutations here? One that could be applied if the rules of the puzzle were changed? (ie, if preceding/following numbers could be placed diagonally to each other, but still not vertically or horizontally, how many possible combinations/permutations would there be?
Correct me if I'm wrong, but the way I'm looking at it, the number of possible permutations when it comes to the original problem is 1, and the number of possible combinations is 4.
Perhaps I'm looking in completely the wrong direction?

With the original rules, note that the two center squares must be $1$ and $8$. Each of the center squares is next to all the other squares but one, so if any other number is in the center it will have a neighbor that is one less or one more. We might as well put the $1$ on the left. Then $7$ must be the extreme left and $2$ must be the extreme right, so the center line is $$7182$$. Now $3$ has to go above or below the $1$ and it might as well go above. $6$ has to go above or below the $8$ and putting it above will have $4$ and $5$ next to each other. Then $5$ has to go above the $8$ and $4$ below the $1$, giving the solution $$\ \ 35\\7182\\ \ \ 46$$ We made two arbitrary binary choices and can show that changing the first leaves the second available, so there are four total arrangements, which consist of flipping it horizontally, vertically, or both.
If you weaken the restrictions there will be many more possibilities. One of the things that makes this a good puzzle is that you can get an answer without too much work but that you can't just randomly fill in numbers and hope to get there.