You could also take the water route. Operators like Transmediterranea, Euro Ferrys and FRS ferry boasts. The shortest route is of course from Spain.
Best way to travel to Morocco is by flight. As many as 15 airports are present in the nation, to connect you well to your destination. Various European airlines and Royal Air Maroc charter regular services to tourist destinations in Morocco. Marrakech, a major city here, is a mere three hours from Paris, two hours from Madrid, and just four hours 45 minutes from London.